"vscode:/vscode.git/clone" did not exist on "248a01f435df3edd94ac1a1ca3598da488004577"
Commit acd93197 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Updated .travis.yml

parent 326b2385
language: cpp language: c
compiler:
- clang
before_install: install:
- sudo apt-get update -qq - source tools/ci/install.sh
- sudo apt-get install -qq libpcre3 libpcre3-dev gromacs - export PYTHONUNBUFFERED=true
- 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:
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM . - export CC="gcc -std=c89"
- make -j2 - source deactivate
- make -j2 install - conda install --yes conda-build
- sudo make PythonInstall - conda build tools/conda-recipe
- # run all of the tests - source activate $python
- ctest -j2 -V - conda install $HOME/miniconda/conda-bld/linux-64/openmm-dev-*
- # get a list of all of the failed tests into this stupid ctest format - conda list -e
- 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 - nosetests tests-nose/test_testsystems.py
- # rerun all of the failed tests
- if [ -s FailedTests.log ]; then ctest -V -I FailedTests.log; fi; env:
- # run the python tests too matrix:
- cd python/tests - python=2.7 CONDA_PY=27
- nosetests -vv --processes=-1 --process-timeout=200 - python=3.3 CONDA_PY=33
global:
# encrypted BINSTAR_TOKEN for push of dev package to binstar
# TODO: Update this BINSTAR TOKEN
- secure: "cBG2Qer5VwjtZ3KbzkeZwoaKIuPXfUoEwTDyL9GtEfgInloVPFKCZYzXbl5uMWiehsKBBaCUIT+Gyo7h1sVnPggw8YrEmbfSBzsu4ZjcEqXZUtQC5f6sDc8qWfLXo7TYAGqP1B6Pk0bzm0UbHhjFNIwKFOGBKj3jDyrQDRvs4JI="
after_success:
- echo "after_success"
- source tools/ci/after_sucess.sh
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