.travis.yml 732 B

123456789101112131415161718192021222324252627282930313233343536
  1. sudo: false
  2. language: php
  3. php:
  4. - 5.3
  5. - 5.4
  6. - 5.5
  7. - 5.6
  8. - 7.0
  9. - 7.1
  10. - hhvm
  11. # - hhvm-nightly
  12. matrix:
  13. allow_failures:
  14. - php: hhvm
  15. - php: hhvm-nightly
  16. install: travis_retry composer update --no-interaction --prefer-source
  17. script: vendor/bin/phpunit
  18. before_deploy: bin/package -v $TRAVIS_TAG
  19. deploy:
  20. provider: releases
  21. api_key:
  22. secure: LL8koDM1xDqzF9t0URHvmMPyWjojyd4PeZ7IW7XYgyvD6n1H6GYrVAeKCh5wfUKFbwHoa9s5AAn6pLzra00bODVkPTmUH+FSMWz9JKLw9ODAn8HvN7C+IooxmeClGHFZc0TfHfya8/D1E9C1iXtGGEoE/GqtaYq/z0C1DLpO0OU=
  23. file_glob: true
  24. file: dist/psysh-*.tar.gz
  25. skip_cleanup: true
  26. on:
  27. tags: true
  28. repo: bobthecow/psysh
  29. condition: ($TRAVIS_PHP_VERSION = 5.3* || $TRAVIS_PHP_VERSION = 7.1*)