Skip to content

Commit b4b999a

Browse files
authored
Update .travis.yml
1 parent 54aa082 commit b4b999a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@ php:
66
- '7.3'
77
- '7.4'
88

9-
before_script:
9+
install:
1010
- composer install
1111
- composer require satooshi/php-coveralls:~1.0@stable
1212

1313
before_script:
1414
- mkdir -p build/logs
1515

16-
17-
# Build Script. Notice: We are demanding unit to generate a clover file to our previously created folder
1816
script:
19-
# Syntax: phpunit --coverage-clover <folder>/<name>.xml --text-suffix .php [--colors] [--report-useless-tests] <tests location>.php
20-
- phpunit --coverage-clover build/logs/clover.xml --test-suffix .php --colors --report-useless-tests
17+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml --test-suffix .php --colors --report-useless-tests
2118

22-
# After success, run sh to bind coveralls
2319
after_success:
2420
- sh -c 'if( [ "$TRAVIS_PHP_VERSION" != "hhvm" ] ); then php vendor/bin/coveralls -v; fi;'

0 commit comments

Comments
 (0)