forked from BinPro/CONCOCT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (31 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: python
python:
- "2.7"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
# command to install dependencies
virtualenv:
system_site_packages: true
before_install:
#Uses miniconda installation of scientific python packages instead of building from source
#or using old versions supplied by apt-get. Source: https://gist.github.com/dan-blanchard/7045057
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential libgsl0-dev bedtools mummer
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION cython numpy scipy biopython pandas pip scikit-learn docutils sphinx jinja2 seaborn
- pip install bcbio-gff
- python setup.py install
# command to run tests
script: nosetests
branches:
only:
- master
- travis_tryout
- develop