1language: php 2php: 3 - 5.4 4 - 5.5 5 - 5.6 6 - 7 7 - hhvm 8 9matrix: 10 fast_finish: true 11 allow_failures: 12 - php: 7 13 14env: 15 matrix: 16 - LOWEST_DEPS="" TEST_DEPS="" 17 - LOWEST_DEPS="--prefer-lowest" TEST_DEPS="tests/Sabre/" 18 19services: 20 - mysql 21 22sudo: false 23 24cache: vendor 25 26before_script: 27 - mysql -e 'create database sabredav' 28 # - composer self-update 29 - composer update --prefer-source $LOWEST_DEPS 30 31script: 32 - ./bin/phpunit --configuration tests/phpunit.xml $TEST_DEPS 33 - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff 34 35notifications: 36 irc: 37 channels: 38 - "chat.freenode.net#sabredav" 39 on_success: change 40 on_failure: change 41