Skip to content

Commit 98ed5ec

Browse files
authored
Merge pull request #47 from tg-bot-api/Big-Shark-patch-1
Update .travis.yml
2 parents cd1d24d + 47deda3 commit 98ed5ec

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ language: php
44
php:
55
- 7.3
66
- 7.4
7+
- 8.0
78

89
# This triggers builds to run on the new TravisCI infrastructure.
910
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
@@ -18,7 +19,7 @@ matrix:
1819
include:
1920
- php: 7.3
2021
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
21-
- php: 7.4
22+
- php: 8.0
2223
env: 'COMPOSER_FLAGS="--ignore-platform-reqs"'
2324

2425
before_script:
@@ -29,11 +30,8 @@ script:
2930
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
3031

3132
after_script:
32-
- |
33-
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
34-
wget https://scrutinizer-ci.com/ocular.phar
35-
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
36-
fi
33+
- wget https://scrutinizer-ci.com/ocular.phar
34+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
3735

3836
addons:
3937
apt:

0 commit comments

Comments
 (0)