Skip to content

Commit e77f365

Browse files
committed
fix travis ci, optimize working
1 parent 1e05112 commit e77f365

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ matrix:
1212
- php: 'nightly'
1313

1414
before_script:
15-
- composer install
1615
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1716
- chmod +x ./cc-test-reporter
1817
- ./cc-test-reporter before-build
1918

2019
script:
21-
- ./vendor/bin/infection --min-msi=60 -j$(nproc)
22-
- cp ./build/logs/clover.xml clover.xml
20+
- composer install
21+
- ./vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml
22+
- ./vendor/bin/infection --coverage=build --min-msi=60 -j$(nproc)
23+
24+
after_script:
25+
- cp ./build/logs/clover.xml clover.xml
2326
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)