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

Commit

Permalink
Copy correct composer.lock to export dir - should fix 3.24 test
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jun 11, 2018
1 parent c59cde8 commit e5cdc03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e5cdc03

Please sign in to comment.