This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add composer.lock, dockerify testing
- Loading branch information
1 parent
208fa5d
commit a652d50
Showing
5 changed files
with
318 additions
and
8 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
vendor/ | ||
*.swp | ||
*~ | ||
composer.lock |
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 |
---|---|---|
@@ -1,9 +1,22 @@ | ||
#!/bin/sh | ||
set -ex | ||
apt update -y | ||
DEBIAN_FRONTEND=noninteractive apt install -y php-cli zip unzip | ||
hhvm --version | ||
php --version | ||
if [ ! -e .git/refs/heads/master ]; then | ||
# - Travis clones with `--branch`, then moves to a detached HEAD state | ||
# - if we're on a detached HEAD, Composer uses master to resolve branch | ||
# aliases. | ||
# So, create the master branch :p | ||
git branch master HEAD | ||
fi | ||
|
||
( | ||
cd $(mktemp -d) | ||
curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
) | ||
composer install | ||
|
||
hh_client | ||
|
||
hhvm vendor/bin/hacktest tests/ |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
language: php | ||
php: | ||
- hhvm-nightly | ||
sudo: required | ||
language: generic | ||
services: docker | ||
env: | ||
- HHVM_VERSION=latest | ||
install: | ||
- docker pull hhvm/hhvm:$HHVM_VERSION | ||
script: | ||
- ./.travis.sh | ||
notifications: | ||
webhooks: https://code.facebook.com/travis/webhook/ | ||
- docker run --rm -w /var/source -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION ./.travis.sh |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.