Skip to content

Commit e69d782

Browse files
committed
Use semantic versionning
1 parent ba897a6 commit e69d782

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ install:
1919
- composer install -o
2020
- |
2121
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
22-
composer require "phpunit/phpunit=5.7.*"
22+
composer require "phpunit/phpunit=~5.7"
2323
else
24-
composer require "phpunit/phpunit=4.8.*"
24+
if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then
25+
composer require "phpunit/phpunit=~5"
26+
else
27+
composer require "phpunit/phpunit=~4.8"
28+
fi
2529
fi
2630
2731
script: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover

0 commit comments

Comments
 (0)