Skip to content

Commit 45a444e

Browse files
author
Jiri Travnicek
committed
.travis.yml - allow failures on php 7.0
1 parent 8bb6907 commit 45a444e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ php:
44
- 5.4
55
- 5.5
66
- 5.6
7-
- 7.0
87
- hhvm
8+
- 5.4
99

1010
# This triggers builds to run on the new TravisCI infrastructure.
1111
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
1212
sudo: false
1313

1414
matrix:
1515
allow_failures:
16-
- php: 5.4
16+
- php: 7.0
1717
include:
1818
- php: 5.4
1919
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
@@ -24,7 +24,8 @@ before_script:
2424
- composer dump-autoload -o
2525

2626
script:
27-
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --verbose
27+
- cd tests
28+
- ../vendor/bin/phpunit . --coverage-text --coverage-clover=coverage.clover --verbose
2829

2930
after_script:
3031
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi

0 commit comments

Comments
 (0)