Hold java packages to speed up build

This commit is contained in:
Leonard Ehrenfried 2014-04-27 23:05:15 +02:00 committed by Thiago de Arruda
parent 9b9c1dee13
commit 42939d7648

View File

@ -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