From 42939d7648d4dab38283c5ea82f1a4035c23558e Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Sun, 27 Apr 2014 23:05:15 +0200 Subject: [PATCH] Hold java packages to speed up build --- scripts/travis.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/travis.sh b/scripts/travis.sh index ccff095562..f2250d9d0d 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -106,6 +106,11 @@ elif [ "$TRAVIS_BUILD_TYPE" = "gcc/unittest" ]; then coveralls --encoding iso-8859-1 elif [ "$TRAVIS_BUILD_TYPE" = "gcc/ia32" ]; then set_environment /opt/neovim-deps/32 + + # Pins the version of the java package installed on the Travis VMs + # and avoids a lengthy upgrade process for them. + sudo apt-mark hold oracle-java7-installer oracle-java8-installer + sudo apt-get update # Need this to keep apt-get from removing gcc when installing libncurses