From e5cdc03d346a23ff9b565f4572e01d102d1c1fd3 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Mon, 11 Jun 2018 10:43:07 -0700 Subject: [PATCH] Copy correct composer.lock to export dir - should fix 3.24 test --- .travis.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.sh b/.travis.sh index a006553..49e9176 100755 --- a/.travis.sh +++ b/.travis.sh @@ -13,10 +13,12 @@ hhvm vendor/bin/phpunit hhvm vendor/bin/hhast-lint # Make sure we pass when a release is required +SOURCE_DIR=$(pwd) EXPORT_DIR=$(mktemp -d) git archive --format=tar -o "${EXPORT_DIR}/exported.tar" HEAD cd "$EXPORT_DIR" tar -xf exported.tar +cp "${SOURCE_DIR}/composer.lock" . composer install --no-dev echo > .hhconfig hh_server --check $(pwd)