Skip to content

Commit

Permalink
Clean up build matrix and make code coverage work again
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Oct 16, 2020
1 parent c75151e commit c02afc1
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
sudo: false
language: php

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

language: php

php:
- 7.2
- 7.3
- 7.4
- nightly

env:
global:
- CODE_COVERAGE=""
matrix:
- PREFER_LOWEST="--prefer-lowest --prefer-stable"
- PREFER_LOWEST=""
- PREFER_LOWEST="--prefer-lowest --prefer-stable"
- PREFER_LOWEST=""

jobs:
include:
- php: 7.3
- php: 7.4
env:
- PREFER_LOWEST=""
- CODE_COVERAGE="--coverage-clover build/logs/clover.xml"
Expand All @@ -38,8 +35,4 @@ script:
- if [[ $TRAVIS_PHP_VERSION < 7.4 ]] ; then composer run-script lint; fi;

after_script:
- if [[ $CODE_COVERAGE != "" ]]; then php vendor/bin/php-coveralls -v; fi;

matrix:
allow_failures:
- php: nightly
- if [[ $CODE_COVERAGE != '' ]]; then php vendor/bin/php-coveralls -v; fi;

0 comments on commit c02afc1

Please sign in to comment.