Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (33 sloc) 1.438 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
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
2 #See http://travis-ci.org/ for details.
3 #
4 #Since Jython isn't officially available yet under Travis, we install it based
5 #on the recipe from http://dev.hong.me/blog/2012/05/27/use-travis-ci-with-jython/
6 #
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
7 #Note when testing Python 3, the 'python' command will invoke Python 3
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
8 #(which we now do via $PYTHON_EXE).
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
9
10 language: python
11 python:
12 - "2.5"
13 - "2.6"
14 - "2.7"
15 - "3.2"
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
16 - "jython2.5"
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
17
18 install:
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
19 - export PYTHON_EXE=python
20 - export JYTHON_URL='http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar?r=http%3A%2F%2Fwww.jython.org%2Fdownloads.html&ts=1338089844&use_mirror=iweb'
21 - "if [[ $TRAVIS_PYTHON_VERSION == 'jython2.5' ]]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython; export PATH=$HOME/jython:$PATH; jython -c print; export PYTHON_EXE=jython; fi
22 - /usr/bin/yes | $PYTHON_EXE setup.py install 2>&1 | tail
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
23 - sudo apt-get install t-coffee muscle mafft probcons wise emboss 2>&1 | tail
24
25 before_script:
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
26 - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then cd build/py3.2/Tests; fi
27 - if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then cd Tests; fi
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
28 script:
a5b6a0a @peterjc Install and test with Jython 2.5 under Travis-CI
peterjc authored
29 - $PYTHON_EXE run_tests.py --offline
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
30
8987359 @peterjc Only ask Travis-CI to test the master branch
peterjc authored
31 # whitelist branches
32 branches:
33 only:
34 - master
35
98369a4 @peterjc Adding Travis-CI configuration file for automated testing
peterjc authored
36 #The email defaults are too talkative while we're getting Travis working nicely.
37 notifications:
38 email: false
Something went wrong with that request. Please try again.