Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on PHP 8 on Travis CI #95

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
language: php

sudo: false

git:
depth: 1

cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


matrix:
include:
Expand All @@ -16,13 +15,15 @@ matrix:
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.3
- php: 7.4
- php: 8.0snapshot
env: COMPOSER_FLAGS='--ignore-platform-req=php'
- php: nightly
env: COMPOSER_FLAGS='--ignore-platform-req=php'
fast_finish: true

before_script:
- if [[ $TRAVIS_PHP_VERSION = '7.2' ]]; then PHPUNIT_FLAGS="--coverage-clover clover"; else PHPUNIT_FLAGS=""; fi
- if [[ $TRAVIS_PHP_VERSION != '7.2' ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update
- composer update $COMPOSER_FLAGS

script:
Expand Down