Permalink
Browse files

Added PHP 7.3 to TravisCI config (.travis.yml).

  • Loading branch information...
corpsee committed Dec 10, 2018
1 parent 364aab1 commit eec484dd579916208559a217e60c93b3f5dfc50f
Showing with 21 additions and 20 deletions.
  1. +19 −18 .travis.yml
  2. +2 −2 src/Plugin/Util/PhpUnitResultJunit.php
@@ -3,36 +3,37 @@ language: php
sudo: false

cache:
directories:
- $HOME/.composer/cache
directories:
- $HOME/.composer/cache

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3

matrix:
fast_finish: true
fast_finish: true

install:
- composer selfupdate
- composer install
- composer selfupdate
- composer install

before_script:
- mysql -e "create database IF NOT EXISTS b8_test;" -uroot
- psql -c 'create database b8_test;' -U postgres
- mysql -e "create database IF NOT EXISTS b8_test;" -uroot
- psql -c 'create database b8_test;' -U postgres

script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)

notifications:
email:
recipients:
- poisoncorpsee@gmail.com
email:
recipients:
- poisoncorpsee@gmail.com

on_success: always
on_failure: always
on_success: always
on_failure: always
@@ -60,7 +60,7 @@ protected function getSeverity($testCase)
case 'system-out':
case 'system-err':
// not results
continue;
continue 2;
default:
$severity = 'UNKNOWN RESULT TYPE: '.$child->getName();
break 2;
@@ -117,7 +117,7 @@ private function getMessageTrace($testCase) {
case 'system-out':
case 'system-err':
// not results
continue;
continue 2;
default:
$msg = (string)$child['message']; // according to xsd
if ('' === $msg) {

0 comments on commit eec484d

Please sign in to comment.