File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,21 @@ matrix:
11
11
12
12
install :
13
13
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14
- - travis_retry wget https://phar.io/releases/phive.phar
14
+ - travis_retry composer global require phpunit/phpunit # cannot use phpunit.phar or require-dev, because this package is a phpunit dep
15
+ - travis_retry wget --no-verbose https://phar.io/releases/phive.phar
15
16
16
17
script :
17
- - . /vendor/bin/phpunit --no-coverage
18
+ - /home/travis/.composer /vendor/bin/phpunit --no-coverage
18
19
19
20
jobs :
20
21
include :
21
22
- stage : coverage
22
23
php : 7.1
23
24
script :
24
- - . /vendor/bin/phpunit
25
+ - /home/travis/.composer /vendor/bin/phpunit
25
26
after_script :
26
27
- travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose
27
- - travis_retry wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
28
+ - travis_retry wget --no-verbose https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
28
29
29
30
- stage : lint
30
31
php : 7.1
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ version: '{build}.{branch}'
8
8
skip_tags : true
9
9
branches :
10
10
only :
11
- - develop
12
11
- master
13
12
14
13
environment :
@@ -49,7 +48,9 @@ install:
49
48
- IF NOT EXIST php-installed.txt type nul >> php-installed.txt
50
49
- cd c:\reflection
51
50
- composer install --no-interaction --prefer-dist --no-progress
51
+ - composer global require phpunit/phpunit
52
+ - composer global config bin-dir --absolute
52
53
53
54
test_script :
54
55
- cd c:\reflection
55
- - vendor/ bin/ phpunit --no-coverage
56
+ - c:\Users\appveyor\AppData\Roaming\Composer\ vendor\ bin\ phpunit --no-coverage
You can’t perform that action at this time.
0 commit comments