-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
58 lines (49 loc) · 1.28 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
package:
image: debian:sid
script:
- apt-get update
- apt-get build-dep -y ./
- dpkg-buildpackage -us -uc
.test simple: &TEST-SIMPLE
variables:
LOGNAME: root
script:
- cd tests && bats scripts/default
artifacts:
paths:
- tests/log
- tests/output
when: always
.test debian: &TEST-DEBIAN
before_script:
- apt-get update > /dev/null
- DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends bats curl git rsync stunnel > /dev/null
.test debian busybox: &TEST-DEBIAN-BUSYBOX
before_script:
- apt-get update > /dev/null
- DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends bats busybox curl git rsync stunnel > /dev/null
- busybox --install -s /usr/local/bin
.test redhat: &TEST-REDHAT
before_script:
- yum install -y epel-release > /dev/null
- yum install -y bats curl git rsync stunnel > /dev/null
test buster:
<<: *TEST-DEBIAN
<<: *TEST-SIMPLE
image: debian:buster
test bullseye:
<<: *TEST-DEBIAN
<<: *TEST-SIMPLE
image: debian:bullseye
test sid:
<<: *TEST-DEBIAN
<<: *TEST-SIMPLE
image: debian:sid
test basic:
<<: *TEST-DEBIAN-BUSYBOX
<<: *TEST-SIMPLE
image: debian:buster
test centos7:
<<: *TEST-REDHAT
<<: *TEST-SIMPLE
image: centos:centos7