Skip to content

Commit f69530b

Browse files
committed
Fix travis (#2)
1 parent ba9634e commit f69530b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ cache:
1717
- $HOME/.composer/cache
1818

1919
before_install:
20-
- phpenv config-rm xdebug.ini
20+
- if [[ "$TRAVIS_PHP_VERSION" != "7.0" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi
2121
- composer selfupdate
2222

2323
install: composer update --prefer-dist --no-interaction
2424

2525
script: ./bin/travis_phpunit
2626
after_script:
27-
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
27+
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

bin/travis_phpunit

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ EXCLUDE_GROUPS="--exclude-group cs"
66

77
if [ "$TRAVIS_PHP_VERSION" == "7.0" ]
88
then
9-
$PHPUNIT -d xdebug.max_nesting_level=1000 --coverage-clover=coverage.clover $EXCLUDE_GROUPS
10-
elif [ "$TRAVIS_PHP_VERSION" == "5.6" ]
11-
then
12-
$PHPUNIT
9+
$PHPUNIT -d xdebug.max_nesting_level=200 --coverage-clover=coverage.clover $EXCLUDE_GROUPS
10+
#elif [ "$TRAVIS_PHP_VERSION" == "5.6" ]
11+
#then
12+
# $PHPUNIT
1313
else
1414
$PHPUNIT $EXCLUDE_GROUPS
1515
fi

0 commit comments

Comments
 (0)