mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 04:24:56 +02:00
[ticket/13792] Use hhvm instead of manually installing nightlys for now
Nightly builds are currently not supported because packages for precise no longer exist and travis is still running on it. PHPBB3-13792
This commit is contained in:
parent
2fb7ef2668
commit
7f820ee962
@ -6,12 +6,6 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]
|
|
||||||
then
|
|
||||||
# Add PPA providing dependencies for recent HHVM on Ubuntu 12.04.
|
|
||||||
sudo add-apt-repository -y ppa:mapnik/boost
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y nginx realpath
|
sudo apt-get install -y nginx realpath
|
||||||
|
|
||||||
@ -25,11 +19,9 @@ APP_SOCK=$(realpath "$DIR")/php-app.sock
|
|||||||
|
|
||||||
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]
|
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]
|
||||||
then
|
then
|
||||||
# Upgrade to a recent stable version of HHVM
|
|
||||||
sudo apt-get -o Dpkg::Options::="--force-confnew" install -y hhvm-nightly
|
|
||||||
|
|
||||||
HHVM_LOG=$(realpath "$DIR")/hhvm.log
|
HHVM_LOG=$(realpath "$DIR")/hhvm.log
|
||||||
|
|
||||||
|
sudo service hhvm stop
|
||||||
sudo hhvm \
|
sudo hhvm \
|
||||||
--mode daemon \
|
--mode daemon \
|
||||||
--user "$USER" \
|
--user "$USER" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user