conda: switch back to default miniconda python, which is now 3.5.

This commit is contained in:
whitequark 2015-11-24 21:43:00 +08:00
parent d560b579f0
commit 5d89acbe82
2 changed files with 4 additions and 6 deletions

View File

@ -19,23 +19,22 @@ install:
- if [ $BUILD_SOC != none ]; then ./.travis/get-xilinx.sh; fi - if [ $BUILD_SOC != none ]; then ./.travis/get-xilinx.sh; fi
- if [ $BUILD_SOC != none ]; then ./.travis/get-toolchain.sh; fi - if [ $BUILD_SOC != none ]; then ./.travis/get-toolchain.sh; fi
- . ./.travis/get-anaconda.sh - . ./.travis/get-anaconda.sh
- source $HOME/miniconda/bin/activate py35
- conda install -q pip coverage anaconda-client cython - conda install -q pip coverage anaconda-client cython
- pip install coveralls - pip install coveralls
# workaround for https://github.com/conda/conda-build/issues/466 # workaround for https://github.com/conda/conda-build/issues/466
- mkdir -p /home/travis/miniconda/conda-bld/linux-64 - mkdir -p /home/travis/miniconda/conda-bld/linux-64
- conda index /home/travis/miniconda/conda-bld/linux-64 - conda index /home/travis/miniconda/conda-bld/linux-64
script: script:
- conda build --python 3.5 conda/artiq - conda build conda/artiq
- conda install -q --use-local artiq - conda install -q --use-local artiq
- | - |
if [ $BUILD_SOC == none ]; then if [ $BUILD_SOC == none ]; then
PACKAGES="$(conda build --output --python 3.5 conda/artiq) $PACKAGES" PACKAGES="$(conda build --output conda/artiq) $PACKAGES"
coverage run --source=artiq setup.py test coverage run --source=artiq setup.py test
make -C doc/manual html make -C doc/manual html
else else
PACKAGES="$(conda build --output --python 3.5 conda/artiq-$BUILD_SOC) $PACKAGES" PACKAGES="$(conda build --output conda/artiq-$BUILD_SOC) $PACKAGES"
conda build --python 3.5 conda/artiq-$BUILD_SOC conda build conda/artiq-$BUILD_SOC
fi fi
after_success: after_success:
- | - |

View File

@ -11,6 +11,5 @@ conda config --set always_yes yes --set changeps1 no
conda update -q conda conda update -q conda
conda info -a conda info -a
conda install conda-build jinja2 conda install conda-build jinja2
conda create -q -n py35 python=$TRAVIS_PYTHON_VERSION
conda config --add channels https://conda.anaconda.org/m-labs/channel/main conda config --add channels https://conda.anaconda.org/m-labs/channel/main
conda config --add channels https://conda.anaconda.org/m-labs/channel/dev conda config --add channels https://conda.anaconda.org/m-labs/channel/dev