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

Commit 0eb2bf2

Browse files
committed
Remove composer.lock on nightlies, directly execute tests and linters
1 parent 4df1170 commit 0eb2bf2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ php --version
99
cd $(mktemp -d)
1010
curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1111
)
12+
if (hhvm --version | grep -q -- -dev); then
13+
rm composer.lock
14+
fi
1215
composer install
1316

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

0 commit comments

Comments
 (0)