summaryrefslogtreecommitdiffstats
path: root/vendor/zendframework/zendxml/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/zendframework/zendxml/.travis.yml')
-rw-r--r--vendor/zendframework/zendxml/.travis.yml38
1 files changed, 29 insertions, 9 deletions
diff --git a/vendor/zendframework/zendxml/.travis.yml b/vendor/zendframework/zendxml/.travis.yml
index 967d999ba..877b0650b 100644
--- a/vendor/zendframework/zendxml/.travis.yml
+++ b/vendor/zendframework/zendxml/.travis.yml
@@ -1,22 +1,42 @@
+sudo: false
+
language: php
-php:
- - 5.3
- - 5.4
- - 5.5
- - 5.6
- - hhvm
+
+branches:
+ except:
+ - /^release-.*$/
+ - /^ghgfk-.*$/
+
+cache:
+ directories:
+ - $HOME/.composer/cache
matrix:
allow_failures:
- php: hhvm
+matrix:
+ fast_finish: true
+ include:
+ - php: 5.3
+ - php: 5.4
+ - php: 5.5
+ env:
+ - EXECUTE_CS_CHECK=true
+ - php: 5.6
+ - php: 7
+ - php: hhvm
+ allow_failures:
+ - php: hhvm
-before_script:
+before_install:
- composer self-update
- - composer install --dev
+
+install:
+ - travis_retry composer install --no-interaction --ignore-platform-reqs
script:
- ./vendor/bin/phpunit -c ./tests
- - ./vendor/bin/phpcs --standard=PSR2 --ignore=tests/Bootstrap.php library tests
+ - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs --standard=PSR2 --ignore=tests/Bootstrap.php library tests ; fi
notifications:
irc: "irc.freenode.org#zftalk.dev"