X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fconsolidation%2Fannotated-command%2F.travis.yml;fp=vendor%2Fconsolidation%2Fannotated-command%2F.travis.yml;h=6e24e911e4a9165064dbc89648920ddfde695266;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/vendor/consolidation/annotated-command/.travis.yml b/vendor/consolidation/annotated-command/.travis.yml new file mode 100644 index 000000000..6e24e911e --- /dev/null +++ b/vendor/consolidation/annotated-command/.travis.yml @@ -0,0 +1,35 @@ +language: php + +branches: + # Only test the master branch and SemVer tags. + only: + - master + - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/ + +matrix: + include: + - php: 7.1 + env: dependencies=highest + - php: 7.0 + - 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