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
53d64f0c
Commit
53d64f0c
authored
Aug 03, 2015
by
Robert McGibbon
Browse files
Use travis container infastructure
parent
14c5e241
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
9 deletions
+27
-9
.travis.yml
.travis.yml
+27
-9
No files found.
.travis.yml
View file @
53d64f0c
language
:
cpp
language
:
cpp
compiler
:
compiler
:
-
clang
-
clang
sudo
:
false
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
libpcre3
-
libpcre3-dev
-
gromacs
-
swig
-
doxygen
-
clang-3.3
-
llvm-3.3
-
python-numpy
-
python-scipy
-
python-sphinx
-
python-yaml
-
python-pip
-
python-virtualenv
env
:
env
:
matrix
:
matrix
:
...
@@ -12,18 +31,17 @@ env:
...
@@ -12,18 +31,17 @@ env:
-
secure
:
"
W2iPU6ooMujfzJNw9ElaEB8Go1rlNFJ5zEldr3FaH7SDRwqtqNOEp9CegCeG/hHtjg1j8TMyytQtvW+OaMKFIbq7Qqu7nIfwIFTV45vBHW6uwT/jAq/J3EgZ8K7JGyysVVHk86D8jT+xu90YVH5Tx/w97luxHOQGfSK8alhCszw="
-
secure
:
"
W2iPU6ooMujfzJNw9ElaEB8Go1rlNFJ5zEldr3FaH7SDRwqtqNOEp9CegCeG/hHtjg1j8TMyytQtvW+OaMKFIbq7Qqu7nIfwIFTV45vBHW6uwT/jAq/J3EgZ8K7JGyysVVHk86D8jT+xu90YVH5Tx/w97luxHOQGfSK8alhCszw="
before_install
:
before_install
:
-
sudo apt-get update -qq
-
export CC=clang
-
sudo apt-get install -qq libpcre3 libpcre3-dev gromacs
-
export CXX=clang++
-
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
-
export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.3
script
:
script
:
-
cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM -DOPENMM_BUILD_STATIC_LIB=$OPENMM_BUILD_STATIC_LIB .
-
virtualenv --system-site-packages openmm_env
-
source openmm_env/bin/activate
-
cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM -DOPENMM_BUILD_STATIC_LIB=$OPENMM_BUILD_STATIC_LIB.
-
make -j2
-
make -j2
-
make -j2 install
-
make -j2 install
-
sudo
make PythonInstall
-
make PythonInstall
-
# Run the testInstallation script
-
# Run the testInstallation script
-
python -m simtk.testInstallation
-
python -m simtk.testInstallation
-
# run all of the tests, making sure failures at this stage don't cause travis failures
-
# run all of the tests, making sure failures at this stage don't cause travis failures
...
@@ -34,13 +52,13 @@ script:
...
@@ -34,13 +52,13 @@ script:
-
if [ -s FailedTests.log ]; then ctest -V -I FailedTests.log; fi;
-
if [ -s FailedTests.log ]; then ctest -V -I FailedTests.log; fi;
-
# run the python tests too
-
# run the python tests too
-
cd python/tests
-
cd python/tests
-
pip install nose
-
nosetests -vv --processes=-1 --process-timeout=200
-
nosetests -vv --processes=-1 --process-timeout=200
after_success
:
after_success
:
# Get libraries necessary for building docs and pushing
# Get libraries necessary for building docs and pushing
# them to S3
# them to S3
-
sudo apt-get install python-sphinx python-yaml
-
pip install sphinxcontrib-bibtex boto
-
sudo pip install sphinxcontrib-bibtex boto
-
make DoxygenApiDocs
-
make DoxygenApiDocs
-
make sphinxhtml
-
make sphinxhtml
-
python devtools/ci/push-docs-to-s3.py
-
python devtools/ci/push-docs-to-s3.py
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