Drupal investigation

.travis.yml 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. language: php
  2. php:
  3. - 5.3
  4. - 5.4
  5. - 5.5
  6. - 5.6
  7. - 7.0
  8. - 7.1
  9. - hhvm
  10. env:
  11. - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  12. - COMPOSER_FLAGS=
  13. matrix:
  14. allow_failures:
  15. - php: 5.3
  16. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  17. - php: 5.4
  18. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  19. - php: 5.5
  20. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  21. - php: 5.6
  22. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  23. - php: 7.0
  24. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  25. - php: 7.1
  26. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  27. - php: hhvm
  28. env: COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
  29. before_install:
  30. - '[[ "$TRAVIS_PHP_VERSION" != hhvm* ]] && (php --ini | grep xdebug) && phpenv config-rm xdebug.ini || true'
  31. install:
  32. - travis_retry composer update --no-interaction --prefer-source $COMPOSER_FLAGS
  33. script:
  34. - vendor/bin/phpunit
  35. # - '[[ "$TRAVIS_PHP_VERSION" != 7.1* ]] || bin/build'
  36. before_deploy:
  37. - bin/package -v $TRAVIS_TAG
  38. deploy:
  39. provider: releases
  40. api_key:
  41. secure: LL8koDM1xDqzF9t0URHvmMPyWjojyd4PeZ7IW7XYgyvD6n1H6GYrVAeKCh5wfUKFbwHoa9s5AAn6pLzra00bODVkPTmUH+FSMWz9JKLw9ODAn8HvN7C+IooxmeClGHFZc0TfHfya8/D1E9C1iXtGGEoE/GqtaYq/z0C1DLpO0OU=
  42. file:
  43. - dist/psysh-${PKG_VERSION}.tar.gz
  44. - dist/psysh-${PKG_VERSION}-compat.tar.gz
  45. skip_cleanup: true
  46. on:
  47. tags: true
  48. repo: bobthecow/psysh
  49. condition: ($TRAVIS_PHP_VERSION = 5.3* || $TRAVIS_PHP_VERSION = 7.1*) && -z "$COMPOSER_FLAGS"