Commit ae133ef8 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Moved testing to conda recipe.

parent e74d1d9d
...@@ -8,21 +8,16 @@ script: ...@@ -8,21 +8,16 @@ script:
- export CC="gcc -std=c89" - export CC="gcc -std=c89"
- source deactivate - source deactivate
- conda install --yes conda-build - conda install --yes conda-build
- # Build the conda package, testing build before packaging.
- conda build tools/conda-recipe - conda build tools/conda-recipe
- # Install the conda package locally.
- source activate $python - source activate $python
- conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-* - conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
- conda list -e - conda list -e
- # run C tests - # Run additional tests to make sure everything installed OK.
- pushd . #- # run C tests (this doesn't work yet)
- cd /home/travis/build/SimTk/openmm/tools/conda-recipe/build #- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
- pwd - # Run the Python tests (a second time)
- ls -1
- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
- popd
- # DEBUG
- ls -1 $python
- ls -1 $python/bin/
- # run the python tests too
- pushd . - pushd .
- cd wrappers/python/tests - cd wrappers/python/tests
- nosetests -vv --processes=-1 --process-timeout=200 - nosetests -vv --processes=-1 --process-timeout=200
......
...@@ -12,6 +12,11 @@ requirements: ...@@ -12,6 +12,11 @@ requirements:
- python - python
- fftw3f - fftw3f
test:
- # Test excluding OpenCL tests
- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
- nosetests -vv --processes=-1 --process-timeout=200
about: about:
home: https://simtk.org/home/openmm home: https://simtk.org/home/openmm
license: GPL license: GPL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment