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

Commit ecbd3d2

Browse files
fredemmottfacebook-github-bot
authored andcommitted
Require and test supported versions, don't lint on nightlies
Summary: Pull Request resolved: #19 Differential Revision: D16078325 fbshipit-source-id: e30407f67969bd395f6bcf92ad46f0ee51c95810
1 parent df993ab commit ecbd3d2

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ composer install
1414
hh_client
1515

1616
vendor/bin/hacktest tests/
17-
vendor/bin/hhast-lint
17+
if !(hhvm --version | grep -q -- -dev); then
18+
vendor/bin/hhast-lint
19+
fi

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ sudo: required
22
language: generic
33
services: docker
44
env:
5+
- HHVM_VERSION=4.7-latest
6+
- HHVM_VERSION=4.8-latest
57
- HHVM_VERSION=latest
68
- HHVM_VERSION=nightly
79
install:

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}
88
},
99
"require": {
10+
"hhvm": "^4.7",
1011
"hhvm/hsl": "^4.0"
1112
},
1213
"require-dev": {

0 commit comments

Comments
 (0)