Created
June 25, 2016 01:42
-
-
Save alubbock/11d78d7d30e17996fa830fc8fac0e4f1 to your computer and use it in GitHub Desktop.
Minimal Travis configuration for PySB models with coveralls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: python | |
| sudo: false | |
| python: | |
| - '2.7' | |
| before_install: | |
| - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh | |
| - chmod +x miniconda.sh | |
| - "./miniconda.sh -b" | |
| - export PATH=/home/travis/miniconda/bin:$PATH | |
| - conda update --yes conda | |
| install: | |
| - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib | |
| sympy networkx nose h5py | |
| - pip install -i https://pypi.binstar.org/pypi/simple pygraphviz | |
| - pip install python-coveralls | |
| - wget "http://www.csb.pitt.edu/Faculty/Faeder/?smd_process_download=1&download_id=142" | |
| -O BioNetGen-2.2.6-stable.tar.gz | |
| - tar xzf BioNetGen-2.2.6-stable.tar.gz | |
| - export BNGPATH=`pwd`/BioNetGen-2.2.6-stable | |
| - git clone https://github.com/lolab-vu/pysb.git -b master --single-branch | |
| - export PYTHONPATH=$PYTHONPATH:`pwd`/pysb | |
| script: | |
| nosetests --with-coverage --cover-inclusive --cover-package=. | |
| after_success: | |
| coveralls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment