From 3de4a6912334fe9c4c0ce4357215c84ab12accfc Mon Sep 17 00:00:00 2001 From: Hiro Asari Date: Tue, 28 Apr 2015 15:14:36 -0400 Subject: [PATCH] Discontinue HHVM nightly support on Precise See https://github.com/travis-ci/travis-ci/issues/3788 and https://github.com/facebook/hhvm/issues/5220 --- lib/travis/build/script/php.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/travis/build/script/php.rb b/lib/travis/build/script/php.rb index dc6ae8fa39..8d4c5d8af1 100644 --- a/lib/travis/build/script/php.rb +++ b/lib/travis/build/script/php.rb @@ -81,6 +81,10 @@ def configure_hhvm end def install_hhvm_nightly + sh.if '$(lsb_release -sc) = "precise"' do + sh.echo "HHVM nightly is no longer supported on Ubuntu Precise. See https://github.com/travis-ci/travis-ci/issues/3788 and https://github.com/facebook/hhvm/issues/5220", ansi: :yellow + sh.raw "travis_terminate 0" + end sh.echo 'Installing HHVM nightly', ansi: :yellow sh.cmd 'sudo apt-get update -qq' sh.cmd 'sudo apt-get install hhvm-nightly 2>&1 >/dev/null'