-
-
Notifications
You must be signed in to change notification settings - Fork 1
Test on 7.3 #13
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
Closed
Closed
Test on 7.3 #13
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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 hidden or 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,56 +1,19 @@ | ||
sudo: false | ||
language: php | ||
|
||
## Cache composer bits | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
## Build matrix for lowest and highest possible targets | ||
matrix: | ||
include: | ||
- php: 7.0 | ||
env: | ||
- qaExtended=true | ||
- php: 7.1 | ||
- php: nightly | ||
env: | ||
- dropPlatform=false | ||
- php: 7.0 | ||
env: | ||
- dependencies=lowest | ||
- php: 7.1 | ||
env: | ||
- dependencies=lowest | ||
- php: nightly | ||
env: | ||
- dependencies=lowest | ||
- dropPlatform=false | ||
- php: 7.0 | ||
env: | ||
- dependencies=highest | ||
- php: 7.1 | ||
env: | ||
- dependencies=highest | ||
- php: nightly | ||
env: | ||
- dependencies=highest | ||
- dropPlatform=false | ||
|
||
## Install or update dependencies | ||
install: | ||
- composer validate | ||
- if [ -z "$dropPlatform" ]; then composer config --unset platform.php; fi; | ||
- if [ -z "$dropPlatform" ]; then composer update --lock; fi; | ||
- if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || :; fi; | ||
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi; | ||
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; | ||
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; | ||
- composer install | ||
- composer why-not phpunit/phpunit | ||
- composer show | ||
|
||
## Run the actual test | ||
script: | ||
- if [ -z "$qaExtended" ]; then make ci; fi; | ||
- if [ "$qaExtended" = "true" ]; then make ci-extended; fi; | ||
|
||
## Gather coverage and set it to coverage servers | ||
after_script: if [ "$qaExtended" = "true" ]; then make ci-coverage; fi; |
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.
I wonder whether it is caused to some configuration issues. What is this doing ?
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.
Interesting, so removing that solved the issue 0_o? So what that does is unset the following from
composer.json
That is there to ensure no packages (or versions of them) cam be installed using composer require. For example my local
PHP
version is7.2
and packages likedoctrine/annotation
have^7.1
and maybe even^7.2
versions available. When runningcomposer require doctrine/annotation
a version is selected that can be used on7.0
even though my local verion is7.2
.