Skip to content

Commit 5b56703

Browse files
authored
Add PHP 7.2 and update Code Climate
1 parent 94c48f3 commit 5b56703

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ language: php
33
php:
44
- 7.0
55
- 7.1
6+
- 7.2
67
- nightly
78

89
install: composer install
10+
11+
before_script:
12+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
13+
- chmod +x ./cc-test-reporter
14+
- ./cc-test-reporter before-build
915

10-
addons:
11-
code_climate:
12-
repo_token: 146c9c0df65c4144142d6065c580dcbed2c0130a2203adae38a4ce13e8afcfca
16+
script:
17+
- ./vendor/phpunit/phpunit/phpunit --coverage-clover clover.xml
18+
19+
after_script:
20+
- ./cc-test-reporter after-build --coverage-input-type clover --id 146c9c0df65c4144142d6065c580dcbed2c0130a2203adae38a4ce13e8afcfca --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)