Put Travis before_install into separate script.

master
baztian 2014-02-11 16:21:38 +01:00
parent 2117291197
commit 919d048444
3 changed files with 9 additions and 4 deletions

View File

@ -18,12 +18,11 @@ matrix:
env: PYTHON_IMPL=jython_2_5_3 BACKEND=hsqldb env: PYTHON_IMPL=jython_2_5_3 BACKEND=hsqldb
before_install: before_install:
- echo $TRAVIS_PYTHON_VERSION $PYTHON_IMPL $BACKEND - ci/before_install.sh
- sudo apt-get update -qq
- sudo apt-get install -qq openjdk-7-jdk openjdk-7-jre
install: install:
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -e .
- jip install org.xerial:sqlite-jdbc:3.7.2 - jip install org.xerial:sqlite-jdbc:3.7.2
- jip install org.hsqldb:hsqldb:1.8.0.10 - jip install org.hsqldb:hsqldb:1.8.0.10

View File

@ -0,0 +1,7 @@
#!/bin/sh
sudo apt-get update -qq
sudo apt-get install -qq openjdk-7-jdk openjdk-7-jre
before_install="${TRAVIS_BUILD_DIR}/ci/before_install_${BACKEND}.sh"
[ -x ${before_install} ] && ${before_install} || echo "nothing to run"

View File

@ -1,3 +1,2 @@
git+https://github.com/originell/jpype.git@3fddd5599d33fb597119207cfaf13628613d32ec#egg=jpype git+https://github.com/originell/jpype.git@3fddd5599d33fb597119207cfaf13628613d32ec#egg=jpype
jip==0.7 jip==0.7
-e .