aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Ehrenfried <leonard.ehrenfried@gmail.com>2014-04-27 23:05:15 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-28 09:27:58 -0300
commit42939d7648d4dab38283c5ea82f1a4035c23558e (patch)
tree09ed627b47d0eecf4512a950e7727d5411a1f989
parent9b9c1dee1352165fea2f9108456484b30b796fd6 (diff)
downloadrneovim-42939d7648d4dab38283c5ea82f1a4035c23558e.tar.gz
rneovim-42939d7648d4dab38283c5ea82f1a4035c23558e.tar.bz2
rneovim-42939d7648d4dab38283c5ea82f1a4035c23558e.zip
Hold java packages to speed up build
-rwxr-xr-xscripts/travis.sh5
1 files changed, 5 insertions, 0 deletions
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