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
bcbc107c
Commit
bcbc107c
authored
Jul 15, 2014
by
John Chodera (MSKCC)
Browse files
Revert to older Travis-CI testing framework so we can separate testing from conda dev builds.
parent
46479322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
32 deletions
+22
-32
.travis.yml
.travis.yml
+22
-32
No files found.
.travis.yml
View file @
bcbc107c
language
:
c
language
:
cpp
compiler
:
-
clang
install
:
before_install
:
-
source tools/ci/install.sh
-
sudo apt-get update -qq
-
export PYTHONUNBUFFERED=true
-
sudo apt-get install -qq libpcre3 libpcre3-dev gromacs
-
sudo apt-get install -qq swig doxygen llvm-3.3
-
sudo apt-get install -qq python-numpy python-scipy python-pip
-
sudo pip install nose
-
export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.3
script
:
script
:
-
export CC="clang++"
-
cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM .
-
source deactivate
-
make -j2
-
conda install --yes conda-build
-
make -j2 install
-
# Build the conda package, testing build before packaging.
-
sudo make PythonInstall
-
conda build tools/conda-recipe
-
# run all of the tests
-
# Install the conda package locally.
-
ctest -j2 -V
-
source activate $python
-
# get a list of all of the failed tests into this stupid ctest format
-
conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
-
python -c 'fn = "Testing/Temporary/LastTestsFailed.log"; import os; os.path.exists(fn) or exit(0); l = [line.split(":")[0] for line in open(fn)]; triplets = zip(l, l, [","]*len(l)); print "".join(",".join(t) for t in triplets)' > FailedTests.log
-
conda list -e
-
# rerun all of the failed tests
-
# Run the Py
th
o
n test
s.
-
if [ -s FailedTests.log ];
th
e
n
c
test
-V -I FailedTests.log; fi;
-
pushd .
-
# run the python tests too
-
cd
wrappers/
python/tests
-
cd python/tests
-
nosetests -vv --processes=-1 --process-timeout=200
-
nosetests -vv --processes=-1 --process-timeout=200
-
popd
env
:
global
:
# encrypted BINSTAR_TOKEN for push of dev package to binstar
-
secure
:
Qz3pEYXXFnNQ/WK+15ad4cdbLJvzgCIZRwKD9fLiS3CDO2ldAQWxzaz8RQOwqbFtZUWu7lQpr+GukNJz5p0w18QEto+BxLYG9aW5mjoc+F2vCjyWFjkwnJ/Z/3uBKTcr5x9Y7HKaPGivaJ4BNACifjt7cCpeVJzV6u2+bBgSoHc=
matrix
:
-
python=2.7 CONDA_PY=27
#- python=3.3 CONDA_PY=33
after_success
:
-
echo "after_success"
-
source tools/ci/after_success.sh
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