Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 646fab9

Browse files
committed
Improve travis
- remove no-longer needed apt-get commands - test in both PHP5 and PHP7 modes
1 parent 8dc010a commit 646fab9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
set -ex
33
hhvm --version
44
echo hhvm.jit=0 >> /etc/hhvm/php.ini
5-
apt-get update -y
6-
apt-get install -y wget curl git
75
curl https://getcomposer.org/installer | hhvm --php -- /dev/stdin --install-dir=/usr/local/bin --filename=composer
86

97
cd /var/source
108
hhvm /usr/local/bin/composer install
119
hh_server --check $(pwd)
12-
hhvm vendor/bin/phpunit tests/
10+
hhvm -d hhvm.php7.all=0 vendor/bin/phpunit tests/
11+
hhvm -d hhvm.php7.all=1 vendor/bin/phpunit tests/

0 commit comments

Comments
 (0)