-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #231 from ThaDafinser/feature/deps
test lowest/higest dep, change dep requirements
- Loading branch information
Showing
6 changed files
with
34 additions
and
55 deletions.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
|
||
filter: | ||
excluded_paths: [tests/*] | ||
|
||
tools: | ||
external_code_coverage: | ||
timeout: 600 # Timeout in seconds. |
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,26 +1,27 @@ | ||
|
||
language: php | ||
|
||
sudo: false | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7 | ||
- hhvm | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
# faster builds on new travis setup not using sudo | ||
sudo: false | ||
env: | ||
matrix: | ||
- DEPENDENCIES="--prefer-lowest --prefer-stable" | ||
- DEPENDENCIES="" | ||
|
||
before_script: | ||
- composer self-update | ||
- composer update --prefer-source -n --verbose | ||
- composer update -o --prefer-source $DEPENDENCIES | ||
|
||
script: | ||
- vendor/bin/phpunit --coverage-clover ./clover.xml | ||
- vendor/bin/php-cs-fixer fix src --level=psr2 --dry-run -vv | ||
- mkdir -p build/logs | ||
- ./vendor/bin/phpunit -c travis.phpunit.xml --coverage-clover build/logs/clover.xml | ||
|
||
after_script: | ||
- php vendor/bin/coveralls -v | ||
|
||
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi | ||
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover ./clover.xml; fi |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.