-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
39 lines (33 loc) · 1.05 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
dist: xenial
sudo: required
language: c
cache: ccache
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
git:
submodules: false
before_script:
- sudo apt-get update -y
- sudo apt-get install qemu-kvm libxen-dev libseccomp-dev bats genisoimage sudo iproute2 wget -y
- sudo apt-get install --only-upgrade binutils gcc -y
- bash travis_wait.sh 60 git clone https://github.com/Solo5/solo5.git
- bash travis_wait.sh 60 git submodule update --init
env:
- PLATFORM=solo5 MACHINE=x86_64 TESTS=spt EXTRAFLAGS=
- PLATFORM=hw MACHINE=x86_64 TESTS=none KERNONLY=-k EXTRAFLAGS=
script:
- export CC=gcc-7
- NOGCCERROR=1 ./build-rr.sh -o myobj -j16 -qq ${KERNONLY} ${PLATFORM} ${EXTRAFLAGS}
- . ./myobj/config
- ./tests/buildtests.sh ${KERNONLY}
- sudo -E ./tests/runtests.sh ${TESTS}
- sudo RUMPRUN_MKCONF=${RUMPRUN_MKCONF} STACK=${TESTS} bats ./tests/bats/tests.bats
# The sudo above is because there is a test that needs to create a TAP device
# touch me to force a travis rebuild