-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Closes #12 Differential Revision: D5538163 fbshipit-source-id: cd3e73a33da679b35bbd42584b44654095adb341
- Loading branch information
1 parent
a21c336
commit 272a247
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
set -ex | ||
hhvm --version | ||
apt-get update -y | ||
apt-get install -y wget curl git | ||
curl https://getcomposer.org/installer | hhvm -d hhvm.jit=0 --php -- /dev/stdin --install-dir=/usr/local/bin --filename=composer | ||
|
||
cd /var/source | ||
hhvm -d hhvm.jit=0 /usr/local/bin/composer install | ||
|
||
hh_server --check $(pwd) | ||
hhvm -d hhvm.php7.all=0 -d hhvm.jit=0 vendor/bin/phpunit | ||
hhvm -d hhvm.php7.all=1 -d hhvm.jit=0 vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
sudo: required | ||
language: generic | ||
services: | ||
- docker | ||
env: | ||
- HHVM_VERSION=latest | ||
install: | ||
- docker pull hhvm/hhvm:$HHVM_VERSION | ||
script: | ||
- docker run -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION /var/source/.travis.sh |