This repository has been archived by the owner on Mar 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Improve Travis matrix #207
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
adcd387
Improve deps testing, add php 7.1, php7 must pass tests
snapshotpl fbc92b7
Disable xdebug and check coverage once to improve test time
snapshotpl 3d3e76a
xdebug must be enabled
snapshotpl 9d914a9
Simplify travis
snapshotpl 7377007
Improve composer
snapshotpl 5202f15
Merge branch 'master' into improve-testing
snapshotpl e755a06
Merge branch 'master' into improve-testing
snapshotpl e1e9a85
Use matrix for env
snapshotpl b64f9bd
Fix travis
snapshotpl ae2bbe8
Fix travis
snapshotpl c18a8a9
Fix composer
snapshotpl 495f5b7
Exclude php 7.1 without coverage
snapshotpl 8b605cd
Small improvements
snapshotpl d332be9
Add phpunit 5.0 compatibility
snapshotpl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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