.travis.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. language: php
  2. matrix:
  3. include:
  4. - php: 5.5
  5. - php: 5.6
  6. - php: 7.0
  7. - php: 7.1
  8. env:
  9. - ENABLE_XDEBUG=true
  10. - php: 7.1
  11. env:
  12. - ENABLE_DEVTOOLS=true
  13. - php: nightly
  14. - php: hhvm-3.12
  15. sudo: required
  16. dist: trusty
  17. group: edge
  18. - php: hhvm
  19. sudo: required
  20. dist: trusty
  21. group: edge
  22. allow_failures:
  23. - php: nightly
  24. - php: hhvm-3.12
  25. - php: hhvm
  26. fast_finish: true
  27. os:
  28. - linux
  29. notifications:
  30. irc: "chat.freenode.net#hoaproject"
  31. sudo: false
  32. env:
  33. global:
  34. - secure: "AAAAB3NzaC1yc2EAAAADAQABAAACAQDIf0Rf76Hhkflz5b9UzWjOjk4UlMU5ySk0VY3B4WdHDLWMMK7fBp1Aj9qXWEDwkuX/NbQP1gB8jQNo7i5uZEOfu7Mn2svPkBBtnmKmaJhk90xypM4lcpcdPi4e8kXUgkriNQLQ2bRe1qZIeF115FkuIvActq7iWKY1TVSZbO54cDKMifDZfH09cf4vpwrZJqwZG6PUnUcCYijgDy99HtfRvzf9xalO4yWm55ZEbJ/VNTHlq1EhK73QLdHC7MO+OQFcd5wEyMbNxBj/bDn/udgb0HsrDijComTg/oTdQJMspYDQYV3ZYvpGozTTCVQrVTYYTP9RCNstgJLHDv9fZZW6yRlw4yNsT7jIQRLs/7awTxOAvRlxqaxk0//ECVNhDgawVtlbEIKrqnM1N7QTm0gjE0HkWEzxE0QbgoZqlLFD6qCp6WVvIT3uGY/i4TkVy78wf3/fzCKbrf72kYSbxIOCxVtptOmrgAblNEpiA/uZ9IofR2p2iwiVY1xF/mzxV2M4zCw6WASrlDhkaL0IncEdRtBuV2WTpixmtjmNkE9h/90kzb5cKExU786gZmvyflYvqlNlcMo3dNsDnROjQCAUXGBw5+risdqTT295BGmlEdZUtcf0c6/zEGhR8B7CktWYLSgOL5mpGMVNEBzyzEwnIiWCvI3pGgoV3Z9UzSJWKQ=="
  35. cache:
  36. directories:
  37. - vendor/
  38. before_script:
  39. - export PATH="$PATH:$HOME/.composer/vendor/bin"
  40. - if [[ ! $ENABLE_XDEBUG ]]; then
  41. phpenv config-rm xdebug.ini || echo "ext-xdebug is not available, cannot remove it.";
  42. fi
  43. script:
  44. - composer install
  45. - vendor/bin/hoa test:run
  46. - if [[ $ENABLE_DEVTOOLS ]]; then
  47. composer global require friendsofphp/php-cs-fixer;
  48. vendor/bin/hoa devtools:cs --diff --dry-run .;
  49. fi