Permalink
Browse files

Fix quote issue; Test Pypy 1.8 & 1.9 on Travis-CI

  • Loading branch information...
1 parent a5b6a0a commit 325e1cb8807d76cd0c45d424125cb9763b3d66ab @peterjc peterjc committed Jun 22, 2012
Showing with 15 additions and 8 deletions.
  1. +15 −8 .travis.yml
View
@@ -1,9 +1,11 @@
#Special configuration file to run tests on Travis-CI via GitHub notifications
-#See http://travis-ci.org/ for details.
+#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).
@@ -14,17 +16,22 @@ python:
- "2.7"
- "3.2"
- "jython2.5"
+ - "pypy1.8"
+ - "pypy1.9"
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; export PATH=$HOME/jython:$PATH; jython -c print; export PYTHON_EXE=jython; fi
- - /usr/bin/yes | $PYTHON_EXE setup.py install 2>&1 | tail
- - sudo apt-get install t-coffee muscle mafft probcons wise emboss 2>&1 | tail
+ - "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; export PATH=$HOME/jython:$PATH; jython -c print; export PYTHON_EXE=jython; fi"
+ - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy1.8' ]]; then wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-linux.tar.bz2 -O pypy.tar.bz2; tar -xvjf pypy.tar.bz2 | tail; export PYTHON_EXE=$PWD/pypy-1.8/bin/pypy; fi"
+ - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy1.9' ]]; then wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux.tar.bz2 -O pypy.tar.bz2; tar -xvjf pypy.tar.bz2 | tail; export PYTHON_EXE=$PWD/pypy-1.9/bin/pypy; fi"
+ - "/usr/bin/yes | $PYTHON_EXE setup.py install 2>&1 | tail"
+ - "sudo apt-get install t-coffee muscle mafft probcons wise emboss 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
+ - "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_EXE run_tests.py --offline

0 comments on commit 325e1cb

Please sign in to comment.