Permalink
Browse files

Remove Jython from TravisCI configuration (old hack broke)

See discussion on travis-ci/travis-cookbooks#64
While Hong Xu has updated his trick, the workaround is more complex to
implement (especially with multiple Python platforms) and not as simple
to interpret on the TravisCI webpage.
  • Loading branch information...
1 parent 2d4e946 commit 3765a18ea8ff1883e0db5751b9e1200cabd6977e @peterjc peterjc committed Feb 15, 2013
Showing with 0 additions and 16 deletions.
  1. +0 −16 .travis.yml
View
@@ -1,11 +1,6 @@
#Special configuration file to run tests on Travis-CI via GitHub notifications
#See http://travis-ci.org/ for details
#
-#Since Jython isn't officially available yet under Travis, we install it based
-#on the recipe from http://dev.hong.me/blog/2012/05/27/use-travis-ci-with-jython/
-#
-#Similarly to test a range of PyPy release, do a self install.
-#
#Note when testing Python 3, the 'python' command will invoke Python 3
#(which we now do via $PYTHON_EXE).
@@ -16,18 +11,13 @@ python:
- "2.7"
- "3.2"
- "3.3"
- - "jython2.5"
- "pypy"
before_install:
- - "export PYTHON_EXE=python"
- - "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'"
- - "if [[ $TRAVIS_PYTHON_VERSION == 'jython2.5' ]]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython | tail -n 2; export PATH=$HOME/jython:$PATH; jython -c print; export PYTHON_EXE=jython; fi"
- "sudo apt-get install clustalw clustalo | tail -n 2"
- "sudo apt-get install t-coffee muscle mafft probcons wise emboss 2>&1 | tail -n 2"
#Installing psycopg2 does not work under PyPy or Jython
- "export PG=yes"
- - "if [[ $TRAVIS_PYTHON_VERSION == 'jython2.5' ]]; then export PG=no; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then export PG=no; fi"
- "if [[ $PG == 'yes' ]]; then pip install psycopg2 --use-mirrors 2>&1 | tail -n 2; fi"
#Installing mysql-python does not work under Python 3.2
@@ -50,9 +40,3 @@ script:
#The email defaults are too talkative while we're getting Travis working nicely.
notifications:
email: false
-
-#The trick we were using to install Jython seems to have been broken by a
-#TravisCI build change in Jan 2013:
-matrix:
- allow_failures:
- - python: "jython2.5"

0 comments on commit 3765a18

Please sign in to comment.