.travis.yml 686 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. language: php
  2. php:
  3. - 5.3
  4. - 5.4
  5. - 5.5
  6. - 5.6
  7. - 7.0
  8. - hhvm
  9. matrix:
  10. allow_failures:
  11. - php: 7.0
  12. fast_finish: true
  13. addons:
  14. code_climate:
  15. repo_token: e27c69a17c19e62d55c1ec43eecc6821b905c504e5cb5cc4ad7f8a997163447a
  16. before_script:
  17. - sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
  18. - composer self-update
  19. - composer install --prefer-source
  20. script:
  21. - mkdir -p build/logs
  22. - ./vendor/bin/phpunit
  23. after_script:
  24. - php vendor/bin/coveralls -v
  25. - php vendor/bin/test-reporter
  26. notifications:
  27. webhooks:
  28. urls:
  29. - https://webhooks.gitter.im/e/fc8ccb3e96abeb0fdc95
  30. on_success: change
  31. on_failure: always
  32. on_start: never