forked from JasonAlt/UberFTP
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
51 lines (45 loc) · 1.06 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
# As per [1] explicitly included builds inherit the first value in an array.
# [1]: https://docs.travis-ci.com/user/multi-cpu-architectures#example-multi-architecture-build-matrix
# Hence the desired arch needs to be specified for each job additionally
# below.
#arch:
# # Disabled for now
# #- amd64
# # Handled via partner queue, uncharged
# - ppc64le
# - arm64
os: linux
dist: focal
language: ruby
jobs:
include:
- &run_build
# Template; subsequent uses modify 'env'
arch:
- ppc64le
env:
- IMAGE=centos:centos7 TASK=build
stage: build
services:
- docker
before_install:
- sudo apt-get update
- sleep 5
- sudo docker pull ${IMAGE}
script:
- travis-ci/setup_tasks.sh
- <<: *run_build
arch:
- arm64
- <<: *run_build
stage: build_rpms
arch:
- ppc64le
env:
- IMAGE=centos:centos7 TASK=rpms
- <<: *run_build
stage: build_rpms
arch:
- arm64
env:
- IMAGE=centos:centos7 TASK=rpms