Update travis tests to correctly pull from omnia-dev for allowed failure branch
@@ -17,10 +17,8 @@ script:
- source activate test
# Add org channel
- conda config --add channels ${ORGNAME}
- # TODO: remove this channel when OpenMM 7.3 has been released.
- - conda config --add channels omnia/label/rc
# Add omnia dev channels
- - if [ $DEVOMNIA ]; then conda config --add channels https://conda.anaconda.org/omnia/label/dev; fi
+ - if [ $DEVOMNIA ]; then conda config --add channels omnia-dev; fi
# Add conda-forge channel back to top priority
- conda config --add channels conda-forge
# Build the recipe
@@ -29,7 +27,7 @@ script:
- conda install --yes --quiet --use-local ${PACKAGENAME}-dev
# Install testing dependencies. Without specifying the numpy version, numpy
# is downgraded to 1.9 and we get a "libgfortran not found" issue.
- - conda install --yes --quiet nose nose-timer pymbar "numpy>=1.11"
+ - conda install --yes --quiet nose nose-timer pymbar "numpy>=1.14"
# Test the package
# TODO: remove the IGNORE_EXCEPTION_DETAIL when we drop Python2 support
- cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-timer --with-doctest --doctest-options="+IGNORE_EXCEPTION_DETAIL" -a '!slow' && cd ..
@@ -47,9 +45,8 @@ env:
matrix:
allow_failures:
- - env: python=3.5 CONDA_PY=35 DEVOMNIA=true
+ - env: python=3.7 CONDA_PY=37 DEVOMNIA=true
after_success:
- echo "after_success"
- if [ "$TRAVIS_SECURE_ENV_VARS" == true ]; then source devtools/travis-ci/after_success.sh; fi
-
