Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ae133ef8
Commit
ae133ef8
authored
Jul 05, 2014
by
John Chodera (MSKCC)
Browse files
Moved testing to conda recipe.
parent
e74d1d9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
.travis.yml
.travis.yml
+6
-11
tools/conda-recipe/meta.yaml
tools/conda-recipe/meta.yaml
+5
-0
No files found.
.travis.yml
View file @
ae133ef8
...
@@ -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
...
...
tools/conda-recipe/meta.yaml
View file @
ae133ef8
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment