-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
138 lines (108 loc) · 2.29 KB
/
.gitlab-ci.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
stages:
- test
before_script:
- command -v apt-get && apt-get update && apt-get -y install curl make
- command -v apk && apk update && apk add curl make bash
- command -v pacman && pacman -Sy --noconfirm curl make
- command -v yum && yum install -y curl make
- curl https://codeload.github.com/sstephenson/bats/tar.gz/v0.4.0 > bats.tar.gz;
- tar xvzf bats.tar.gz
- mv bats-0.4.0 bats
- export PATH=$PATH:bats/bin
.job_template: &job_definition
stage: test
script:
- make test
#
# Alpine
# See the list of active release: https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases
#
Alpine 3.5:
<<: *job_definition
image: alpine:3.5
Alpine 3.6:
<<: *job_definition
image: alpine:3.6
Alpine 3.7:
<<: *job_definition
image: alpine:3.7
Alpine 3.8:
<<: *job_definition
image: alpine:3.8
Alpine edge:
<<: *job_definition
image: alpine:edge
#
# Archlinux
# No release list, it's a rolling release
#
Archlinux:
<<: *job_definition
image: base/archlinux
#
# Centos
# See the list of active release: https://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d
#
Centos 6:
<<: *job_definition
image: centos:6
Centos 7:
<<: *job_definition
image: centos:7
#
# Debian
#
Debian oldstable:
<<: *job_definition
image: debian:oldstable
Debian stable:
<<: *job_definition
image: debian:stable
Debian testing:
<<: *job_definition
image: debian:testing
Debian unstable:
<<: *job_definition
image: debian:unstable
#
# Fedora
# See the list of active release: https://fedoraproject.org/wiki/Releases
#
Fedora 27:
<<: *job_definition
image: fedora:27
Fedora 28:
<<: *job_definition
image: fedora:28
Fedora 29:
<<: *job_definition
image: fedora:29
Fedora Rawhide:
<<: *job_definition
image: fedora:rawhide
#
# Ubuntu
# See the list of active release: https://wiki.ubuntu.com/Releases
#
Ubuntu 14.04 LTS:
<<: *job_definition
image: ubuntu:trusty
# This locale setup catched the bug that led to v1.0.1
Ubuntu 14.04 LTS UTF-8:
<<: *job_definition
image: ubuntu:trusty
variables:
LANG: C.UTF-8
LC_ALL: C.UTF-8
script:
- bash
- make test
Ubuntu 16.04 LTS:
<<: *job_definition
image: ubuntu:xenial
Ubuntu 18.04 LTS:
<<: *job_definition
image: ubuntu:bionic
Ubuntu 18.10:
<<: *job_definition
image: ubuntu:cosmic