Test nightly and conda-forge openmm builds on travis
@@ -14,14 +14,25 @@ matrix:
- os: linux
language: generic # No need to set Python version since its conda
- env: PYTHON_VER=3.6
+ env: PYTHON_VER=3.6 OPENMM="latest"
- os: linux
language: generic
- env: PYTHON_VER=3.7
+ env: PYTHON_VER=3.7 OPENMM="latest"
+
+ - os: linux
+ language: generic
+ env: PYTHON_VER=3.7 OPENMM="nightly"
+ - os: linux
+ language: generic
+ env: PYTHON_VER=3.7 OPENMM="conda-forge"
- # TODO: Reactivate macOS tests if they stop segfaulting after switching from nose to pytest (see also #402 and #430).
allow_failures:
+ # TODO: Reactivate macOS tests if they stop segfaulting after switching from nose to pytest (see also #402 and #430).
- os: osx
+ # Allow conda-forge failure
+ - os: linux
+ language: generic
+ env: PYTHON_VER=3.7 OPENMM="conda-forge"
env:
global:
@@ -45,6 +56,11 @@ install:
- conda activate test
# Build and install package
- python setup.py develop --no-deps
+ # Install desired OpenMM version
+ - if [ "$OPENMM" == "latest" ]; then echo "Using latest release OpenMM."; conda remove --yes --force openmm; conda clean -tipsy; conda install --yes -c omnia openmm; fi
+ - if [ "$OPENMM" == "beta" ]; then echo "Using OpenMM beta"; conda remove --yes --force openmm; conda clean -tipsy; conda install --yes --override-channels -c omnia/label/beta openmm; fi
+ - if [ "$OPENMM" == "nightly" ]; then echo "Using OpenMM nightly dev build."; conda remove --yes --force openmm; conda clean -tipsy; conda install --yes --override-channels -c omnia-dev openmm; fi
+ - if [ "$OPENMM" == "conda-forge" ]; then echo "Using OpenMM conda-forge testing build."; conda remove --yes --force openmm; conda clean -tipsy; conda install --yes --override-channels -c conda-forge/label/testing openmm; fi
script:
