1language: php 2 3php: 4 - 5.4 5 - 5.5 6 - 5.6 7 - 7.0 8 - 7.1 9 - 7.2 10 - nightly 11 - hhvm 12 13# faster builds on new travis setup not using sudo 14sudo: false 15 16# travis does not support HHVM on other platforms, choosing trusty 17dist: trusty 18 19# cache composer cache 20cache: 21 directories: 22 - $HOME/.composer/cache 23 24# run build against hhvm but allow them to fail 25# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail 26matrix: 27 fast_finish: true 28 allow_failures: 29 - php: nightly 30 31install: 32 - composer self-update && composer --version 33 - composer install --prefer-dist 34 35script: 36 - vendor/bin/phpunit --verbose --coverage-clover=coverage.clover 37# test against standard markdown spec 38# - git clone https://github.com/jgm/stmd && cd stmd && perl runtests.pl spec.txt ../bin/markdown 39 40after_script: 41 - wget https://scrutinizer-ci.com/ocular.phar 42 - php ocular.phar code-coverage:upload --format=php-clover coverage.clover 43