Use travis' container-based infrastructure

master
baztian 2015-02-07 20:57:18 +01:00
parent e3379fe8da
commit de360ebc05
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
language: python
# use container-based infrastructure
sudo: false
python:
- '2.6'
- '2.7'

View File

@ -1,8 +1,9 @@
#!/bin/bash
set -e
sudo apt-get update -qq
sudo apt-get install -qq openjdk-7-jdk openjdk-7-jre
# JDK is not required for JPype1 anymore
# sudo apt-get update -qq
# sudo apt-get install -qq openjdk-7-jdk openjdk-7-jre
[ -n "$JYTHON" ] && "${TRAVIS_BUILD_DIR}/ci/before_install_jython.sh" || "${TRAVIS_BUILD_DIR}/ci/before_install_nonjython.sh"