Skip to content

Commit 5fa78c8

Browse files
#222: Added PHP 8.1 and 8.2 to build plan
1 parent 7832709 commit 5fa78c8

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

.travis.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1+
language: php
2+
3+
os: linux
4+
5+
dist: bionic
6+
17
env:
28
global:
3-
- 'CC_TEST_REPORTER_ID=48efddaa8b8e9926721d2b2fbcb02dd18d70c383aea2a4dc29c6076385ccfd2e'
4-
5-
language: 'php'
9+
- CC_TEST_REPORTER_ID=48efddaa8b8e9926721d2b2fbcb02dd18d70c383aea2a4dc29c6076385ccfd2e
610

711
php:
8-
- '7.2'
9-
- '7.3'
10-
- '7.4'
11-
- '8.0'
12+
- 8.0
13+
- 8.1
14+
- 8.2
15+
16+
before_install:
17+
- composer self-update --2
1218

1319
install:
14-
- 'composer install'
20+
- composer install
1521

1622
before_script:
17-
- 'curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter'
18-
- 'chmod +x ./cc-test-reporter'
19-
- './cc-test-reporter before-build'
23+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
24+
- chmod +x ./cc-test-reporter
25+
- ./cc-test-reporter before-build
2026

2127
script:
22-
- 'XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml'
28+
- XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
2329

2430
after_success:
25-
- 'bash <(curl -s https://codecov.io/bash) -f build/logs/clover.xml'
26-
- './cc-test-reporter after-build'
31+
- bash <(curl -s https://codecov.io/bash) -f build/logs/clover.xml
32+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)