Skip to content

Commit a173f68

Browse files
author
Babichev Maxim
committed
travis + codeclimate
1 parent adefaa2 commit a173f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix:
1717
before_script:
1818
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1919
- chmod +x ./cc-test-reporter
20-
- ./cc-test-reporter before-build
20+
- if [ $(phpenv version-name) = "7.3" ]; then ./cc-test-reporter before-build; fi
2121
- composer install
2222

2323
script:
@@ -26,4 +26,4 @@ script:
2626

2727
after_script:
2828
- cp ./build/logs/clover.xml clover.xml
29-
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT
29+
- if [ $(phpenv version-name) = "7.3" ]; then ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT; fi

0 commit comments

Comments
 (0)