Skip to content

Commit

Permalink
Add PHP versions to Travis-CI test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Aug 19, 2019
1 parent 311d4d5 commit 69cb42f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
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="
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"config": {
"platform": {
"php": "7.0"
"php": "7.0.33"
},
"sort-packages": true
}
Expand Down

0 comments on commit 69cb42f

Please sign in to comment.