forked from tuupola/slim-jwt-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync Travis settings from tuupola/slim-basic-auth
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 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,21 +1,27 @@ | ||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
|
||
before_install: | ||
- sudo pip install codecov | ||
- pip install --user codecov | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
- travis_retry composer install --no-interaction --dev | ||
- travis_retry composer install --no-interaction | ||
|
||
script: | ||
- vendor/bin/phpcs --standard=psr2 ./src | ||
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml | ||
- vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml | ||
|
||
after_success: | ||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache |