Skip to content

Commit

Permalink
Merge pull request #20 from tomtomau/supported-php-version
Browse files Browse the repository at this point in the history
chore(php): update to supported versions
  • Loading branch information
jrbasso authored Aug 8, 2019
2 parents 6db69fd + 6e2749f commit a4de458
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ language: php
sudo: false

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 7.2
- 7.3

before_script:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls; fi
- composer require satooshi/php-coveralls
- composer install --dev

script:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then ./vendor/bin/phpcs --standard=psr2 src test; fi
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs --standard=psr2 src test

after_success:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi
- php vendor/bin/coveralls
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.4",
"php": ">=7.2",
"psr/log": "^1.0"
},
"require-dev": {
Expand Down

0 comments on commit a4de458

Please sign in to comment.