.travis.yml 916 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. language: php
  2. sudo: false
  3. php:
  4. - 5.5
  5. - 5.6
  6. - 7.0
  7. - 7.1
  8. - hhvm
  9. before_script:
  10. - curl --version
  11. - composer install --no-interaction --prefer-source --dev
  12. - ~/.nvm/nvm.sh install v0.6.14
  13. - ~/.nvm/nvm.sh run v0.6.14
  14. - '[ "$TRAVIS_PHP_VERSION" != "7.0" ] || echo "xdebug.overload_var_dump = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini'
  15. script: make test
  16. matrix:
  17. allow_failures:
  18. - php: hhvm
  19. fast_finish: true
  20. before_deploy:
  21. - rvm 1.9.3 do gem install mime-types -v 2.6.2
  22. - make package
  23. deploy:
  24. provider: releases
  25. api_key:
  26. secure: UpypqlYgsU68QT/x40YzhHXvzWjFwCNo9d+G8KAdm7U9+blFfcWhV1aMdzugvPMl6woXgvJj7qHq5tAL4v6oswCORhpSBfLgOQVFaica5LiHsvWlAedOhxGmnJqMTwuepjBCxXhs3+I8Kof1n4oUL9gKytXjOVCX/f7XU1HiinU=
  27. file:
  28. - build/artifacts/guzzle.phar
  29. - build/artifacts/guzzle.zip
  30. on:
  31. repo: guzzle/guzzle
  32. tags: true
  33. all_branches: true
  34. php: 5.5