Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (36 sloc) 1.441 kb
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
1 #Special configuration file to run tests on Travis-CI via GitHub notifications
325e1cb @peterjc Fix quote issue; Test Pypy 1.8 & 1.9 on Travis-CI
peterjc authored
2 #See http://travis-ci.org/ for details
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
3 #
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
4 #Note when testing Python 3, the 'python' command will invoke Python 3
5e30bc2 @peterjc Fix TravisCI setup (removing last part of Jython hack)
peterjc authored
5 #and similarly for PyPy too.
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
6
7 language: python
8 python:
9 - "2.5"
10 - "2.6"
11 - "2.7"
12 - "3.2"
e2cfa80 @peterjc TravisCI should support Python 3.3 now.
peterjc authored
13 - "3.3"
126c944 @peterjc Use TravisCI provided PyPy only (currently 1.9)
peterjc authored
14 - "pypy"
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
15
c68a48c @peterjc Clarify TravisCI config with install and before_install
peterjc authored
16 before_install:
9bee771 @peterjc TravisCI doesn't have a fasttree package
peterjc authored
17 - "sudo apt-get install clustalw clustalo | tail -n 2"
379a480 @peterjc Less verbose TravisCI install logs
peterjc authored
18 - "sudo apt-get install t-coffee muscle mafft probcons wise emboss 2>&1 | tail -n 2"
9a5e721 @peterjc Install psycopg2 for C Python under Travis-CI (for BioSQL)
peterjc authored
19 #Installing psycopg2 does not work under PyPy or Jython
20 - "export PG=yes"
126c944 @peterjc Use TravisCI provided PyPy only (currently 1.9)
peterjc authored
21 - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then export PG=no; fi"
379a480 @peterjc Less verbose TravisCI install logs
peterjc authored
22 - "if [[ $PG == 'yes' ]]; then pip install psycopg2 --use-mirrors 2>&1 | tail -n 2; fi"
a791db8 @peterjc Install mysql-python under TravisCI to test BioSQL
peterjc authored
23 #Installing mysql-python does not work under Python 3.2
24 - "export MSQL=$PG"
711aa66 @peterjc Correct typo in TravisCI file.
peterjc authored
25 - "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then export MSQL=no; fi"
f066764 @peterjc Generalise TravisCI Python 3 support
peterjc authored
26 - "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export MSQL=no; fi"
a791db8 @peterjc Install mysql-python under TravisCI to test BioSQL
peterjc authored
27 - "if [[ $MSQL == 'yes' ]]; then pip install mysql-python --use-mirrors 2>&1 | tail -n 2; fi"
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
28
c68a48c @peterjc Clarify TravisCI config with install and before_install
peterjc authored
29 install:
5e30bc2 @peterjc Fix TravisCI setup (removing last part of Jython hack)
peterjc authored
30 - "/usr/bin/yes | python setup.py install 2>&1 | tail -n 2"
c68a48c @peterjc Clarify TravisCI config with install and before_install
peterjc authored
31
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
32 before_script:
f066764 @peterjc Generalise TravisCI Python 3 support
peterjc authored
33 - cd Tests
34 - "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then cd ../build/py3.2/Tests; fi"
35 - "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then cd ../build/py3.3/Tests; fi"
325e1cb @peterjc Fix quote issue; Test Pypy 1.8 & 1.9 on Travis-CI
peterjc authored
36
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
37 script:
5e30bc2 @peterjc Fix TravisCI setup (removing last part of Jython hack)
peterjc authored
38 - python run_tests.py --offline
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
39
40 #The email defaults are too talkative while we're getting Travis working nicely.
41 notifications:
42 email: false
Something went wrong with that request. Please try again.