ffmpeg-mappable-media/.travis.yml
2017-10-16 17:52:45 +02:00

40 lines
688 B
YAML

language: php
dist: trusty
branches:
only:
- master
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
allow_failures:
- php: hhvm
include:
- php: 5.4
env: COMPOSER_FLAGS="--prefer-lowest"
before_install:
- sudo add-apt-repository ppa:mc3man/trusty-media -y
- sudo apt-get update -q
- composer self-update
- if [ "$COMPOSER_FLAGS" == "--prefer-lowest" ]; then composer require "roave/security-advisories" dev-master --no-update; fi;
install:
- sudo apt-get install -y ffmpeg
- composer update --prefer-dist $COMPOSER_FLAGS
script:
- vendor/bin/phpunit --verbose