forked from roc-streaming/roc-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
140 lines (128 loc) · 4.96 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
language: generic
branches:
only:
- master
- develop
- /^feature\/.*/
stages:
- name: Build
- name: Docs
if: branch = master AND type != pull_request AND NOT fork
jobs:
include:
- name: "Linux x84_64"
stage: Build
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull rocproject/travis-ubuntu:18.04
- docker pull rocproject/travis-ubuntu:16.04
- docker pull rocproject/travis-ubuntu:14.04
- docker pull rocproject/travis-debian
- docker pull rocproject/travis-fedora
- docker pull rocproject/travis-centos
- docker pull rocproject/travis-archlinux
- docker pull rocproject/travis-alpine
script:
- scripts/travis/docker.sh rocproject/travis-ubuntu:18.04 scripts/travis/linux-x86_64/ubuntu-18.04.sh
- scripts/travis/docker.sh rocproject/travis-ubuntu:16.04 scripts/travis/linux-x86_64/ubuntu-16.04.sh
- scripts/travis/docker.sh rocproject/travis-ubuntu:14.04 scripts/travis/linux-x86_64/ubuntu-14.04.sh
- scripts/travis/docker.sh rocproject/travis-debian scripts/travis/linux-x86_64/debian.sh
- scripts/travis/docker.sh rocproject/travis-fedora scripts/travis/linux-x86_64/fedora.sh
- scripts/travis/docker.sh rocproject/travis-centos scripts/travis/linux-x86_64/centos.sh
- scripts/travis/docker.sh rocproject/travis-archlinux scripts/travis/linux-x86_64/archlinux.sh
- scripts/travis/docker.sh rocproject/travis-alpine scripts/travis/linux-x86_64/alpine.sh
- cat build.status
- name: "Linux ARM"
stage: Build
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull rocproject/cross-arm-bcm2708hardfp-linux-gnueabi:gcc-4.7
- docker pull rocproject/cross-arm-linux-gnueabihf:gcc-4.9
- docker pull rocproject/cross-aarch64-linux-gnu:gcc-7.4
script:
- scripts/travis/docker.sh rocproject/cross-arm-bcm2708hardfp-linux-gnueabi:gcc-4.7 scripts/travis/linux-arm/arm-bcm2708hardfp-linux-gnueabi.sh
- scripts/travis/docker.sh rocproject/cross-arm-linux-gnueabihf:gcc-4.9 scripts/travis/linux-arm/arm-linux-gnueabihf.sh
- scripts/travis/docker.sh rocproject/cross-aarch64-linux-gnu:gcc-7.4 scripts/travis/linux-arm/aarch64-linux-gnu.sh
- cat build.status
- name: "Linux build checks"
stage: Build
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull rocproject/travis-minimal
script:
- scripts/travis/docker.sh rocproject/travis-minimal scripts/travis/linux-build-checks/optional-features.sh
- scripts/travis/docker.sh rocproject/travis-minimal scripts/travis/linux-build-checks/debug-features.sh
- scripts/travis/docker.sh rocproject/travis-minimal scripts/travis/linux-build-checks/pulseaudio-support.sh
- name: "Linux runtime checks"
stage: Build
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull rocproject/travis-checks
script:
- scripts/travis/docker.sh rocproject/travis-checks scripts/travis/linux-runtime-checks/sanitizers-clang.sh
- scripts/travis/docker.sh rocproject/travis-checks scripts/travis/linux-runtime-checks/sanitizers-gcc.sh
- scripts/travis/docker.sh rocproject/travis-checks scripts/travis/linux-runtime-checks/valgrind-debug.sh
- scripts/travis/docker.sh rocproject/travis-checks scripts/travis/linux-runtime-checks/valgrind-release.sh
- name: "Android ARM"
stage: Build
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull rocproject/cross-aarch64-linux-android:api28
script:
- scripts/travis/docker.sh rocproject/cross-aarch64-linux-android:api28 scripts/travis/android/aarch64-linux-android.sh
- cat build.status
- name: "macOS Xcode 9.1"
stage: Build
os: osx
osx_image: xcode9.1
script:
- scripts/travis/macos/xcode-9.1.sh
after_failure:
- cat config.log
- name: "macOS Xcode 10.2"
stage: Build
os: osx
osx_image: xcode10.2
script:
- scripts/travis/macos/xcode-10.2.sh
after_failure:
- cat config.log
- name: "macOS Xcode 11.3"
stage: Build
os: osx
osx_image: xcode11.3
script:
- scripts/travis/macos/xcode-11.3.sh
after_failure:
- cat config.log
- name: "roc-project.github.io"
stage: Docs
script:
- scripts/travis/trigger.sh roc-project%2Froc-project.github.io travis
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGdhdnYlM0FtYXRyaXgub3JnLyUyMWN3WHpNdm9kbVRWWklGVnNwWCUzQW1hdHJpeC5vcmc"
on_start: never
on_success: always
on_failure: always