-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (24 loc) · 1.42 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
language: python
python:
# - "2.6" << misses pysam 'import sysconfig' => 'ImportError: No module named sysconfig'
- "2.7"
# Needs FuMa, which needs HTSeq ported to Py3
# - "3.2"
# - "3.3"
# - "3.4"
# - "3.5"
# - "3.5-dev" # 3.5 development branch
# - "nightly" # currently points to 3.6-dev
before_install:
- sudo apt-get install -qq build-essential gfortran libatlas-base-dev python-pip python-dev
install:
- sudo pip install flake8
# - virtualenv -p python2 .venv_pysam_0_9 ; source .venv_pysam_0_9/bin/activate ; pip install pysam==0.9 ; pip install -r requirements.txt ; python setup.py install ; pip install flake8 nose ; deactivate
- virtualenv -p python2 .venv_pysam_0_10 ; source .venv_pysam_0_10/bin/activate ; pip install scipy ; pip install numpy ; pip install --use-wheel pysam==0.10 ; pip install -r requirements.txt ; python setup.py install ; pip install flake8 nose ; deactivate
script:
# - source .venv_pysam_0_9/bin/activate && python -c 'import pysam; print (pysam.__version__)' && nosetests -v tests/*.py && deactivate && source .venv_pysam_0_10/bin/activate && python -c 'import pysam; print (pysam.__version__)' && nosetests -v tests/*.py && deactivate
- source .venv_pysam_0_10/bin/activate && python -c 'import pysam; print (pysam.__version__)' && nosetests -v tests/*.py && deactivate
- cd "$TRAVIS_BUILD_DIR" && sudo pip install flake8 && ./scripts/flake8.sh
# cache: pip
notifications:
email: false