Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 0c086f7

Browse files
committed
Dont' use docker on travis
1 parent 26ab2b3 commit 0c086f7

File tree

2 files changed

+12
-25
lines changed

2 files changed

+12
-25
lines changed

.travis.sh

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@
22
set -ex
33
hhvm --version
44

5-
curl https://getcomposer.org/installer | hhvm --php -- /dev/stdin --install-dir=/usr/local/bin --filename=composer
5+
composer install
66

7-
cd /var/source
8-
hhvm /usr/local/bin/composer install
7+
hh_client
98

10-
hh_server --check $(pwd)
11-
sed -i '/enable_experimental_tc_features/d' .hhconfig
12-
hh_server --check $(pwd)
13-
14-
hhvm -d hhvm.php7.all=0 vendor/bin/phpunit test/
15-
hhvm -d hhvm.php7.all=1 vendor/bin/phpunit test/
9+
hhvm vendor/bin/phpunit tests/
1610

17-
hhvm examples/dorm/codegen.php examples/dorm/demo/DormUserSchema.php
18-
19-
HHVM_VERSION=$(hhvm --php -r 'echo HHVM_VERSION_ID;' 2>/dev/null);
20-
if [ $HHVM_VERSION -ge 32300 -a $HHVM_VERSION -lt 32400 ]; then
21-
vendor/bin/hhast-lint
22-
fi
11+
echo > .hhconfig
12+
rm -rf vendor/hhvm/hhast # avoid circular dependency when fixing things
13+
hh_server --check $(pwd)

.travis.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
sudo: required
2-
language: generic
3-
services:
4-
- docker
5-
env:
6-
- HHVM_VERSION=latest
7-
- HHVM_VERSION=nightly
8-
install:
9-
- docker pull hhvm/hhvm:$HHVM_VERSION
1+
language: php
2+
php:
3+
- hhvm
4+
- hhvm-3.24
5+
- hhvm-nightly
106
script:
11-
- docker run -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION /var/source/.travis.sh
7+
- ./.travis.sh

0 commit comments

Comments
 (0)