Permalink
Browse files

Adding Travis-CI configuration file for automated testing

  • Loading branch information...
1 parent 7300d33 commit 98369a444397178d34b532bdaf5541a5fd847989 @peterjc peterjc committed Jun 20, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 .travis.yml
View
@@ -0,0 +1,25 @@
+#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
+
+language: python
+python:
+ - "2.5"
+ - "2.6"
+ - "2.7"
+ - "3.2"
+
+install:
+ - sudo apt-get install t-coffee muscle mafft probcons wise emboss 2>&1 | tail
+ - /usr/bin/yes | python setup.py install 2>&1 | tail
+
+before_script:
+ - "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then cd build/py3.2/Tests; fi"
+ - "if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then cd Tests; fi"
+script:
+ - python run_tests.py --offline
+
+#The email defaults are too talkative while we're getting Travis working nicely.
+notifications:
+ email: false

0 comments on commit 98369a4

Please sign in to comment.