Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

39 lines
879B

  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