Put Travis before_install into separate script.

This commit is contained in:
baztian
2014-02-11 16:21:38 +01:00
parent 2117291197
commit 919d048444
3 changed files with 9 additions and 4 deletions
+7
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"