forked from jrottenberg/ffmpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
88 lines (81 loc) · 2.44 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
sudo: required
language: bash
services: docker
env:
- VERSION=snapshot VARIANT=ubuntu
- VERSION=snapshot VARIANT=alpine
- VERSION=snapshot VARIANT=centos
- VERSION=snapshot VARIANT=scratch
- VERSION=snapshot VARIANT=vaapi
- VERSION=snapshot VARIANT=nvidia
- VERSION=4.2 VARIANT=ubuntu
- VERSION=4.2 VARIANT=alpine
- VERSION=4.2 VARIANT=centos
- VERSION=4.2 VARIANT=scratch
- VERSION=4.2 VARIANT=vaapi
- VERSION=4.2 VARIANT=nvidia
- VERSION=4.1 VARIANT=ubuntu
- VERSION=4.1 VARIANT=alpine
- VERSION=4.1 VARIANT=centos
- VERSION=4.1 VARIANT=scratch
- VERSION=4.1 VARIANT=vaapi
- VERSION=4.1 VARIANT=nvidia
- VERSION=4.0 VARIANT=ubuntu
- VERSION=4.0 VARIANT=alpine
- VERSION=4.0 VARIANT=centos
- VERSION=4.0 VARIANT=scratch
- VERSION=4.0 VARIANT=vaapi
- VERSION=4.0 VARIANT=nvidia
- VERSION=3.4 VARIANT=ubuntu
- VERSION=3.4 VARIANT=alpine
- VERSION=3.4 VARIANT=centos
- VERSION=3.4 VARIANT=scratch
- VERSION=3.4 VARIANT=vaapi
- VERSION=3.4 VARIANT=nvidia
- VERSION=3.3 VARIANT=ubuntu
- VERSION=3.3 VARIANT=alpine
- VERSION=3.3 VARIANT=centos
- VERSION=3.3 VARIANT=scratch
- VERSION=3.3 VARIANT=vaapi
- VERSION=3.3 VARIANT=nvidia
- VERSION=3.2 VARIANT=ubuntu
- VERSION=3.2 VARIANT=alpine
- VERSION=3.2 VARIANT=centos
- VERSION=3.2 VARIANT=scratch
- VERSION=3.2 VARIANT=vaapi
- VERSION=3.2 VARIANT=nvidia
- VERSION=3.1 VARIANT=ubuntu
- VERSION=3.1 VARIANT=alpine
- VERSION=3.1 VARIANT=centos
- VERSION=3.1 VARIANT=scratch
- VERSION=3.1 VARIANT=vaapi
- VERSION=3.1 VARIANT=nvidia
- VERSION=3.0 VARIANT=ubuntu
- VERSION=3.0 VARIANT=alpine
- VERSION=3.0 VARIANT=centos
- VERSION=3.0 VARIANT=scratch
- VERSION=3.0 VARIANT=vaapi
- VERSION=3.0 VARIANT=nvidia
- VERSION=2.8 VARIANT=ubuntu
- VERSION=2.8 VARIANT=alpine
- VERSION=2.8 VARIANT=centos
- VERSION=2.8 VARIANT=scratch
- VERSION=2.8 VARIANT=vaapi
- VERSION=2.8 VARIANT=nvidia
branches:
only:
- "master"
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
before_script:
- env | sort
- image="ffmpeg:${VERSION}-${VARIANT:-ubuntu}"
script:
- docker build -t "${image}" --build-arg MAKEFLAGS="-j$(($(nproc) + 1))" docker-images/${VERSION}/${VARIANT}
- docker run --rm ${image} -buildconf
after_script:
- docker images
# vim:set et ts=2 sw=2: