forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (60 loc) · 1.6 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Special configuration file to run tests on Travis-CI via GitHub notifications
# See https://travis-ci.org/biopython/biopython/builds for results
#
# Using TravisCI's configuration alone became too complicated once we wanted
# to cover more than just running the unit tests on different versions of
# Python, so this now does all the complicated test configuration via TOX
# See file .travis-tox.ini
#
# Environment variables setup here:
# - TOXENV = environment used in Tox (conventionally uses py35 etc)
#
language: python
matrix:
include:
- env: TOXENV=pep8
- env: TOXENV=sdist
- env: TOXENV=bdist_wheel
- python: 2.7
env: TOXENV=py27-cover
- python: 3.3
env: TOXENV=py33-cover
- python: 3.4
env: TOXENV=py34-cover
- python: 3.5
env: TOXENV=py35-cover
- python: pypy
env: TOXENV=pypy-nocov
- python: pypy3
env: TOXENV=pypy3-nocov
sudo: false
addons:
apt:
packages:
- bwa
- clustalo
- clustalw
- emboss
- mafft
- muscle
- probcons
- samtools
- wise
#There is a phyml Ubuntu package, but currently too old
before_install:
- cd $HOME
- mkdir bin
- export PATH=$HOME/bin:$PATH
- curl -L -O http://www.atgc-montpellier.fr/download/binaries/phyml/PhyML-3.1.zip
- unzip PhyML-3.1.zip
- mv PhyML-3.1/PhyML-3.1_linux64 bin/phyml
- cd $TRAVIS_BUILD_DIR
install:
- "cp Tests/biosql.ini.sample Tests/biosql.ini"
- "pip install --upgrade pip setuptools"
- "pip install tox"
- "tox -c .travis-tox.ini -e $TOXENV --notest"
script:
- "tox -c .travis-tox.ini -e $TOXENV"
notifications:
email: false