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:
- export CC="gcc -std=c89"
- source deactivate
- conda install --yes conda-build
- # Build the conda package, testing build before packaging.
- conda build tools/conda-recipe
- # Install the conda package locally.
- source activate $python
- conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
- conda list -e
- # run C tests
- pushd .
- cd /home/travis/build/SimTk/openmm/tools/conda-recipe/build
- pwd
- 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
- # Run additional tests to make sure everything installed OK.
#- # run C tests (this doesn't work yet)
#- ctest -j2 -V -E "[A-Za-z]+OpenCL[A-Za-z]+"
- # Run the Python tests (a second time)
- pushd .
- cd wrappers/python/tests
- nosetests -vv --processes=-1 --process-timeout=200
......
......@@ -12,6 +12,11 @@ requirements:
- python
- 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:
home: https://simtk.org/home/openmm
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