.travis.yml 551 B

12345678910111213141516171819202122232425
  1. language: php
  2. php:
  3. - 7.1
  4. - 7.2
  5. env:
  6. matrix:
  7. - COMPOSER_FLAGS="--prefer-lowest"
  8. - COMPOSER_FLAGS=""
  9. before_install:
  10. - sudo apt-get update
  11. - travis_retry composer self-update
  12. - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
  13. install:
  14. - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
  15. - sudo add-apt-repository -y ppa:mc3man/trusty-media
  16. - sudo apt-get -qq update
  17. - sudo apt-get install -y --allow-unauthenticated software-properties-common ffmpeg
  18. script:
  19. - phpunit