diff options
Diffstat (limited to 'vendor/sabre/dav/.travis.yml')
-rw-r--r-- | vendor/sabre/dav/.travis.yml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/vendor/sabre/dav/.travis.yml b/vendor/sabre/dav/.travis.yml index 9c98702f0..48c88b169 100644 --- a/vendor/sabre/dav/.travis.yml +++ b/vendor/sabre/dav/.travis.yml @@ -1,28 +1,33 @@ language: php php: - - 5.3.3 - - 5.3 - - 5.4 - 5.5 - 5.6 + - 7 - hhvm matrix: + fast_finish: true allow_failures: - - php: 5.6 - - php: hhvm + - php: hhvm + +env: + matrix: + - LOWEST_DEPS="" TEST_DEPS="" + - LOWEST_DEPS="--prefer-lowest" TEST_DEPS="tests/Sabre/" services: - mysql +sudo: false + +cache: vendor + before_script: - mysql -e 'create database sabredav' - - composer self-update - - composer install --prefer-source -# - echo "zend.enable_gc=0" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` + # - composer self-update + - composer update --prefer-source $LOWEST_DEPS script: - - phpunit --configuration tests/phpunit.xml - - cp tests/composer.vobject3.json composer.json - - composer update --no-dev - - phpunit --configuration tests/phpunit.xml + - ./bin/phpunit --configuration tests/phpunit.xml $TEST_DEPS + - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff + |