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.

29 lines
726B

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