You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ cache:
10
10
matrix:
11
11
include:
12
12
- php: '7.0'
13
-
- php: '7.1.0'# Prevent phpdbg's segfaults
13
+
- php: '7.1'
14
14
env: coverage=1 lint=1
15
-
- php: '7.1.0'
15
+
- php: '7.1'
16
16
env: deps='low'
17
17
18
18
before_install:
@@ -22,7 +22,7 @@ before_install:
22
22
- if [[ $coverage = 1 ]]; then mkdir -p build/logs build/cov; fi
23
23
- if [[ $coverage = 1 ]]; then wget https://phar.phpunit.de/phpcov.phar; fi
24
24
- if [[ $coverage = 1 ]]; then wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar; fi
25
-
- if [[ $lint = 1 ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.1.2/php-cs-fixer.phar; fi
25
+
- if [[ $lint = 1 ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.3.1/php-cs-fixer.phar; fi
26
26
- if [[ $lint = 1 ]]; then composer global require phpstan/phpstan; fi
27
27
- export PATH="$PATH:$HOME/.composer/vendor/bin"
28
28
@@ -32,8 +32,8 @@ install:
32
32
- if [[ $deps = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi
33
33
34
34
script:
35
-
- if [[ $coverage = 1 ]]; then phpdbg -qrr vendor/bin/phpunit --colors=never --coverage-php build/cov/coverage-phpunit.cov; else vendor/bin/phpunit --colors=never; fi
36
-
- if [[ $coverage = 1 ]]; then for feature in $(ls -d features/*/ | cut -f2 -d'/' | grep -v bootstrap); do FEATURE=$feature phpdbg -qrr vendor/bin/behat --profile coverage features/$feature --no-colors; done; else vendor/bin/behat --no-colors; fi
35
+
- if [[ $coverage = 1 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-php build/cov/coverage-phpunit.cov; else vendor/bin/phpunit; fi
36
+
- if [[ $coverage = 1 ]]; then for f in $(find features -name '*.feature'); do FEATURE=${f//\//_} phpdbg -qrr vendor/bin/behat --profile coverage $f; done; else vendor/bin/behat; fi
37
37
- if [[ $coverage = 1 ]]; then phpdbg -qrr phpcov.phar merge --clover build/logs/clover.xml build/cov; fi
0 commit comments