Refactoring
This commit is contained in:
34
lib/composer/vendor/consolidation/annotated-command/.travis.yml
vendored
Normal file
34
lib/composer/vendor/consolidation/annotated-command/.travis.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
language: php
|
||||
|
||||
branches:
|
||||
# Only test the master branch and SemVer tags.
|
||||
only:
|
||||
- master
|
||||
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.0
|
||||
env: dependencies=highest
|
||||
- php: 5.6
|
||||
- php: 5.5
|
||||
- php: 5.4
|
||||
env: dependencies=lowest
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
|
||||
before_script:
|
||||
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
|
||||
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-dist --prefer-lowest -n; fi;
|
||||
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit
|
||||
- vendor/bin/phpcs --standard=PSR2 -n src
|
||||
|
||||
after_success:
|
||||
- travis_retry php vendor/bin/coveralls -v
|
||||
Reference in New Issue
Block a user