You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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