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.

.travis.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. language: php
  2. branches:
  3. only:
  4. - staging
  5. - trying
  6. - master
  7. matrix:
  8. include:
  9. - php: 5.6
  10. - php: 7.0
  11. - php: 7.1
  12. env:
  13. - ENABLE_DEVTOOLS=true
  14. - php: nightly
  15. - php: hhvm-3.12
  16. sudo: required
  17. dist: trusty
  18. group: edge
  19. - php: hhvm
  20. sudo: required
  21. dist: trusty
  22. group: edge
  23. allow_failures:
  24. - php: nightly
  25. - php: hhvm-3.12
  26. - php: hhvm
  27. fast_finish: true
  28. os:
  29. - linux
  30. notifications:
  31. irc: "chat.freenode.net#hoaproject"
  32. sudo: false
  33. env:
  34. global:
  35. - secure: "AAAAB3NzaC1yc2EAAAADAQABAAAAgQCoAO780/K7xbK3aPnHJmAyw9B3OGRFx2sSnl6umenksq4kmlzmPaUF9g3cHGcXpM5O33P8Tux//iYGASy5W8f5vbxbWSvlwV/aWFW9oSM6G/01gyW9vRFK0MnXpUMyCF9B4K/RJumGxm9BSxkAFFo2gPHIJrd08SOQeiDLygpcEQ=="
  36. cache:
  37. directories:
  38. - vendor/
  39. before_script:
  40. - export PATH="$PATH:$HOME/.composer/vendor/bin"
  41. - if [[ ! $ENABLE_XDEBUG ]]; then
  42. phpenv config-rm xdebug.ini || echo "ext-xdebug is not available, cannot remove it.";
  43. fi
  44. script:
  45. - composer install
  46. - vendor/bin/hoa test:run
  47. - if [[ $ENABLE_DEVTOOLS ]]; then
  48. composer global require friendsofphp/php-cs-fixer;
  49. vendor/bin/hoa devtools:cs --diff --dry-run .;
  50. fi