forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 1.22 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
#Special configuration file to run tests on Travis-CI via GitHub notifications
#See http://travis-ci.org/ for details
#
#Note when testing Python 3, the 'python' command will invoke Python 3
#and similarly for PyPy too.
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "pypy"
before_install:
- "export PY3=no"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then export PY3=yes; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PY3=yes; fi"
- "sudo apt-get install clustalw clustalo"
- "sudo apt-get install t-coffee muscle mafft probcons wise emboss"
#Installing psycopg2 does not work under PyPy or Jython
- "export PG=yes"
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then export PG=no; fi"
- "if [[ $PG == 'yes' ]]; then pip install psycopg2 --use-mirrors; fi"
#Installing mysql-python does not work under Python 3.2
- "export MSQL=$PG"
- "if [[ $PY3 == 'yes' ]]; then export MSQL=no; fi"
- "if [[ $MSQL == 'yes' ]]; then pip install mysql-python --use-mirrors; fi"
install:
- "/usr/bin/yes | python setup.py install"
before_script:
- cd Tests
script:
- python run_tests.py --offline
#The email defaults are too talkative while we're getting Travis working nicely.
notifications:
email: false