Skip to content

Commit

Permalink
php 7.0 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Travnicek committed Sep 29, 2015
1 parent 8bb6907 commit 8f92e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo: false

matrix:
allow_failures:
- php: 5.4
- php: 7.0
include:
- php: 5.4
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
Expand All @@ -24,7 +24,8 @@ before_script:
- composer dump-autoload -o

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --verbose
- cd tests
- ../vendor/bin/phpunit . --coverage-text --coverage-clover=coverage.clover --verbose

after_script:
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}
],
"require": {
"symfony/css-selector": "~2.5",
"sabberworm/php-css-parser": "6.0.*"
"symfony/css-selector": "~2.7",
"sabberworm/php-css-parser": "7.0.*"
},
"require-dev": {
"phpunit/phpunit": "4.*"
Expand Down

0 comments on commit 8f92e78

Please sign in to comment.