File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ env :
2
+ global :
3
+ - CC_TEST_REPORTER_ID=731b1224e90b7ad7304e86768a8ed7b98b63d9e30bdc37b6295097c7bb5bedfd
4
+
1
5
language : php
2
6
3
7
php :
6
10
- 7.1
7
11
- 7.2
8
12
13
+ before_script :
14
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
15
+ - chmod +x ./cc-test-reporter
16
+ - if [ $(phpenv version-name) = "7.2" ]; then ./cc-test-reporter before-build; fi
17
+
9
18
script :
10
19
- composer install
11
20
- php vendor/bin/phpunit -c ./tests/phpunit.xml --coverage-text --coverage-clover build/logs/clover.xml tests/
12
- - CODECLIMATE_REPO_TOKEN=731b1224e90b7ad7304e86768a8ed7b98b63d9e30bdc37b6295097c7bb5bedfd ./vendor/bin/test-reporter
21
+
22
+ after_script :
23
+ - if [ $(phpenv version-name) = "7.2" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
You can’t perform that action at this time.
0 commit comments