From eb56fe3ea9be8b484b1322a554af9a57edb1ecbf Mon Sep 17 00:00:00 2001 From: David Froger Date: Tue, 22 Nov 2016 17:17:24 +0100 Subject: [PATCH] MNT: Re-rendered with conda-smithy 1.5.3 --- .travis.yml | 4 ++-- README.md | 1 - appveyor.yml | 27 ++++++++++++++++++++------- ci_support/run_docker_build.sh | 8 ++++++++ 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6ee2f6f7..055195910 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,9 @@ before_install: install: - | - MINICONDA_URL="http://repo.continuum.io/miniconda" + MINICONDA_URL="https://repo.continuum.io/miniconda" MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh" - curl -O "${MINICONDA_URL}/${MINICONDA_FILE}" + curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}" bash $MINICONDA_FILE -b source /Users/travis/miniconda3/bin/activate root diff --git a/README.md b/README.md index 86a4c6fe1..c5e5aac9e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ conda search python --channel conda-forge ``` - About conda-forge ================= diff --git a/appveyor.yml b/appveyor.yml index b0cf1b4fb..4980e6110 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,8 +4,6 @@ environment: - CONDA_INSTALL_LOCN: "C:\\conda" - # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the # /E:ON and /V:ON options are not enabled in the batch script intepreter # See: http://stackoverflow.com/a/13751649/163740 @@ -14,6 +12,8 @@ environment: # We set a default Python version for the miniconda that is to be installed. This can be # overridden in the matrix definition where appropriate. CONDA_PY: "27" + CONDA_INSTALL_LOCN: "C:\\Miniconda-x64" + BINSTAR_TOKEN: # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC @@ -21,9 +21,11 @@ environment: matrix: - TARGET_ARCH: x86 CONDA_PY: 35 + CONDA_INSTALL_LOCN: C:\\Miniconda35 - TARGET_ARCH: x64 CONDA_PY: 35 + CONDA_INSTALL_LOCN: C:\\Miniconda35-x64 # We always use a 64-bit machine, but can build x86 distributions @@ -44,14 +46,25 @@ install: # Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) - cmd: rmdir C:\cygwin /s /q - - appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py" - - cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci - - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat - - cmd: set PYTHONUNBUFFERED=1 + # Add our channels. + - cmd: set "OLDPATH=%PATH%" + - cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%" - cmd: conda config --set show_channel_urls true - - cmd: conda install -c pelson/channel/development --yes --quiet obvious-ci - cmd: conda config --add channels conda-forge + + # Add a hack to switch to `conda` version `4.1.12` before activating. + # This is required to handle a long path activation issue. + # Please see PR ( https://github.com/conda/conda/pull/3349 ). + - cmd: conda install --yes --quiet conda=4.1.12 + - cmd: set "PATH=%OLDPATH%" + - cmd: set "OLDPATH=" + + # Actually activate `conda`. + - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat + - cmd: set PYTHONUNBUFFERED=1 + + - cmd: conda install -n root --quiet --yes obvious-ci - cmd: conda install -n root --quiet --yes conda-forge-build-setup - cmd: run_conda_forge_build_setup diff --git a/ci_support/run_docker_build.sh b/ci_support/run_docker_build.sh index 390f661e2..d8a9680d4 100755 --- a/ci_support/run_docker_build.sh +++ b/ci_support/run_docker_build.sh @@ -41,6 +41,14 @@ conda clean --lock conda install --yes --quiet conda-forge-build-setup source run_conda_forge_build_setup + +# Install the yum requirements defined canonically in the +# "recipe/yum_requirements.txt" file. After updating that file, +# run "conda smithy rerender" and this line be updated +# automatically. +yum install -y valgrind-devel + + # Embarking on 1 case(s). set -x export CONDA_PY=35