-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PHP versions to Travis-CI test matrix
- Loading branch information
1 parent
311d4d5
commit 69cb42f
Showing
2 changed files
with
6 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,21 +1,19 @@ | ||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
- "7.0" | ||
- "7.1" | ||
- "7.2" | ||
- "7.3" | ||
|
||
sudo: false | ||
|
||
install: travis_retry composer install | ||
|
||
script: | ||
- vendor/bin/phpunit --coverage-clover build/coverage.clover | ||
- vendor/bin/phpstan analyse src -c phpstan.neon --level=6 --no-progress -vvv | ||
- vendor/bin/phpstan analyse src -c phpstan.neon --level=max --no-progress -vvv | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover build/coverage.clover | ||
|
||
notifications: | ||
email: | ||
- secure: "iiseqb4k4ckQkMJnZ6Tq3YP5ilTZE4CkVgarsBpPOn+c820nP9QokGpz82D4CTGy/UB1+DfCiFH9YAFrhLP5/9Go1CHP+wYkuz9W+E8q/rm9/nBO0xutoQhOfV3MxMid69E8i4QjODq3w5mOUrmpj/8gl2FyBU1Ro1xgPSYNEQ4=" |
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 |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
}, | ||
"config": { | ||
"platform": { | ||
"php": "7.0" | ||
"php": "7.0.33" | ||
}, | ||
"sort-packages": true | ||
} | ||
|