.travis.yml 368 B

123456789101112131415161718
  1. language: php
  2. php:
  3. - 7.1
  4. - 7.2
  5. - 7.3
  6. env:
  7. - COMPOSER_FLAGS="--prefer-lowest"
  8. - COMPOSER_FLAGS=""
  9. install:
  10. - php -v | grep '^PHP 7.[^3]' && pecl install weakref-beta || true
  11. - travis_retry composer self-update
  12. - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
  13. - nvm install stable
  14. - nvm use stable
  15. - npm install