Brak opisu

.travis.yml 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. language: php
  2. sudo: false
  3. matrix:
  4. include:
  5. - php: 5.4
  6. dist: trusty
  7. - php: 5.4
  8. env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
  9. dist: trusty
  10. - php: 5.5
  11. dist: trusty
  12. - php: 5.6
  13. - php: 7.0
  14. - php: 7.1
  15. - php: 7.2
  16. - php: hhvm
  17. dist: trusty
  18. allow_failures:
  19. - php: 5.4
  20. env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
  21. - php: hhvm
  22. fast_finish: true
  23. install: travis_retry composer update --no-interaction $COMPOSER_FLAGS
  24. script:
  25. - vendor/bin/phpunit --verbose --coverage-clover=coverage.xml
  26. - '[[ $TRAVIS_PHP_VERSION = 7.2* ]] && make build -j 4 || true'
  27. after_success:
  28. - bash <(curl -s https://codecov.io/bash)
  29. before_deploy: make dist -j 4
  30. deploy:
  31. provider: releases
  32. api_key:
  33. secure: LL8koDM1xDqzF9t0URHvmMPyWjojyd4PeZ7IW7XYgyvD6n1H6GYrVAeKCh5wfUKFbwHoa9s5AAn6pLzra00bODVkPTmUH+FSMWz9JKLw9ODAn8HvN7C+IooxmeClGHFZc0TfHfya8/D1E9C1iXtGGEoE/GqtaYq/z0C1DLpO0OU=
  34. file_glob: true
  35. file: dist/psysh-*.tar.gz
  36. skip_cleanup: true
  37. on:
  38. tags: true
  39. repo: bobthecow/psysh
  40. condition: $TRAVIS_PHP_VERSION = 7.2*