1language: php 2 3sudo: false 4 5env: 6 global: 7 - COMPOSER_ROOT_VERSION=1.8.0 8 9php: 10 - '7.1' 11 - '7.2' 12 - nightly 13 14matrix: 15 fast_finish: true 16 include: 17 - php: '7.1' 18 env: COMPOSER_FLAGS="--prefer-lowest" 19 allow_failures: 20 - php: nightly 21 22cache: 23 directories: 24 - $HOME/.composer/cache/files 25 26install: 27 - composer update --no-interaction --no-progress --no-suggest --prefer-dist $COMPOSER_FLAGS 28 - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar 29 30before_script: 31 - mkdir -p build/logs 32 33script: 34 - vendor/bin/phpunit --coverage-clover build/logs/clover.xml 35 36after_script: 37 - php coveralls.phar -v 38 39notifications: 40 email: false 41