forked from osboot/make-initrd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (98 loc) · 2.22 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
dist: focal
os: linux
language: c
branches:
only:
- master
- travis
jobs:
include:
- stage: "Compile"
name: "Build binaries"
arch: amd64
os: linux
script: travis_retry sudo make -C tests build
workspaces:
create:
name: binaries
paths:
- .build
- .tests
- stage: "Testing"
name: "Root on LUKS"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-luks"
workspaces:
use: binaries
- name: "Root on LUKS with separate key"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-lukskey"
workspaces:
use: binaries
- name: "Root on partition and unaccessible LUKS partition"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-luks-home"
workspaces:
use: binaries
- name: "Root on LVM"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-lvm"
workspaces:
use: binaries
- name: "Root on RAID1"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-raid1"
workspaces:
use: binaries
- name: "Root on degraded RAID1"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-degraded-raid1"
workspaces:
use: binaries
- name: "Root on partition"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-partition"
workspaces:
use: binaries
- name: "Root on squashfs from isofs"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-pipeline-iso-squash"
workspaces:
use: binaries
- name: "Root on btrfs"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-btrfs-multi-device"
workspaces:
use: binaries
- name: "Root on btrfs with subvol"
arch: amd64
os: linux
env:
- TRAVIS_TESTCASE="test-btrfs-subvol"
workspaces:
use: binaries
install:
- sudo apt-get update -qq
- sudo apt-get install coreutils cpio curl qemu-kvm
- |
sudo modprobe kvm-intel nested=1 ||:
sudo modprobe kvm-amd nested=1 ||:
script: travis_retry sudo make -C tests $TRAVIS_TESTCASE