Skip to content

Commit

Permalink
Also tests for PHP 7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Mar 28, 2017
1 parent a486851 commit 263d237
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm

matrix:
Expand All @@ -18,16 +19,15 @@ branches:

before_install:
- wget https://github.com/satooshi/php-coveralls/releases/download/v0.7.0/coveralls.phar
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-4.8.27.phar

install:
- composer self-update
- composer install
- travis_retry composer self-update
- travis_retry composer install

script:
- vendor/bin/parallel-lint src/
- vendor/bin/parallel-lint tests/
- php phpunit.phar -v
- vendor/bin/phpunit -v

after_success:
- travis_retry php coveralls.phar -v
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"require-dev": {
"php-vcr/phpunit-testlistener-vcr": "^1.1",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"jakub-onderka/php-console-highlighter": "^0.3.2"
"jakub-onderka/php-console-highlighter": "^0.3.2",
"phpunit/phpunit": "~4.8 || ~6.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 263d237

Please sign in to comment.