Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Improve Travis matrix #207

Merged
merged 14 commits into from
Apr 21, 2017
22 changes: 14 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
language: php
sudo: false

php:
- 5.6
- 7.0
- 7.1
- hhvm

env:
- COMPOSER_FLAGS=--prefer-lowest
- COMPOSER_FLAGS=

matrix:
include:
- php: 7.1
env: PHPUNIT_FLAGS=--coverage-text
exclude:
- php: 7.1
Copy link
Member

Choose a reason for hiding this comment

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

we're missing a nightly build that should be allowed to fail

env: COMPOSER_FLAGS=
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm

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

before_install:
- travis_retry composer self-update

before_script:
- travis_retry composer install --no-interaction
- composer update --no-interaction --no-suggest --prefer-dist $COMPOSER_FLAGS

script:
- vendor/bin/phpunit --coverage-text
- vendor/bin/behat
- vendor/bin/phpunit $PHPUNIT_FLAGS
- vendor/bin/behat -vv -f progress