설명 없음

.travis.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: php
  2. php:
  3. - 5.3
  4. - 5.4
  5. - 5.5
  6. - 5.6
  7. - hhvm
  8. matrix:
  9. allow_failures:
  10. - php: hhvm
  11. env:
  12. global:
  13. - secure: "Sq+6bVtnPsu0mWX8DWQ+9bGAjxMcGorksUiHc4YIXEJsuDfVmVlH8tTD547IeCjDAx9MxXerZ2Z4HSjxTB70VEnJPvZMHI/EZn4Ny31YLHEthdZbV5Gd1h0TGp8VOzPKGShvGrtGBX6MvMfgpK4zuieVWbSfdKeecm8ZNLMpUd4="
  14. before_install:
  15. ## Packages
  16. - sudo apt-get update -qq
  17. - sudo apt-get install -y graphviz
  18. before_script:
  19. ## Composer
  20. - composer self-update
  21. - composer install --prefer-source
  22. ## PHPDocumentor
  23. - mkdir -p build/docs
  24. - mkdir -p build/coverage
  25. script:
  26. ## PHP_CodeSniffer
  27. - ./vendor/bin/phpcs src/ tests/ --standard=PSR2 -n --ignore=src/PhpWord/Shared/PCLZip
  28. ## PHP Copy/Paste Detector
  29. - ./vendor/bin/phpcpd src/ tests/ --verbose
  30. ## PHP Mess Detector
  31. - ./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php
  32. ## PHPUnit
  33. - ./vendor/bin/phpunit -c ./ --coverage-text --coverage-html ./build/coverage
  34. ## PHPLOC
  35. - ./vendor/bin/phploc src/
  36. ## PHPDocumentor
  37. - ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --ignore "*/src/PhpWord/Shared/*/*" --template="responsive-twig"
  38. after_script:
  39. ## PHPDocumentor
  40. - bash .travis_shell_after_success.sh
  41. ## Scrutinizer
  42. - wget https://scrutinizer-ci.com/ocular.phar
  43. - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml