forked from quasarstream/PHP-FFmpeg-video-streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 752 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: php
php:
- 7.2
- 7.3
- 8.0
- 8.3
env:
matrix:
- COMPOSER_FLAGS=""
before_install:
- sudo apt-get update
- travis_retry composer self-update
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- >
[ -f ffmpeg-release/ffmpeg ] || (
curl -O https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz &&
mkdir -p ffmpeg-release &&
tar Jxf ffmpeg-release-amd64-static.tar.xz --strip-components=1 -C ffmpeg-release
)
install:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
script:
- export PATH=$(readlink -f ffmpeg-release):$PATH
- vendor/bin/phpunit tests
cache:
directories:
- ffmpeg-release