Skip to content

Commit

Permalink
Merge pull request #9 from shimabox/fix
Browse files Browse the repository at this point in the history
Fixed Travis CI Job error.
  • Loading branch information
shimabox committed Dec 20, 2020
2 parents 19bf25b + b39b8b7 commit 5f8e6d4
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
language: php
dist: trusty
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3

matrix:
include:
- php: 5.4
dist: precise
env: PHP_VERSION="5.4"
- php: 5.5
env: PHP_VERSION="5.5"
- php: 5.6
env: PHP_VERSION="5.6"
- php: 7.0
env: PHP_VERSION="7.0"
- php: 7.1
env: PHP_VERSION="7.1"
- php: 7.2
env: PHP_VERSION="7.2"
- php: 7.3
env: PHP_VERSION="7.3"
- php: 7.4
env: PHP_VERSION="7.4"

addons:
code_climate:
Expand All @@ -22,7 +29,8 @@ before_script:

script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/coverage-clover.xml
- if [ `echo "$PHP_VERSION < 7.3" | bc` == 1 ]; then vendor/bin/phpunit --coverage-clover build/logs/coverage-clover.xml; fi
- if [ `echo "$PHP_VERSION >= 7.3" | bc` == 1 ]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover build/logs/coverage-clover.xml; fi

after_success:
- vendor/bin/test-reporter --coverage-report build/logs/coverage-clover.xml
Expand Down

0 comments on commit 5f8e6d4

Please sign in to comment.