-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 1.08 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
matrix:
include:
- os: linux
install:
- sudo apt-get update -qq && sudo apt-get install -y iptables-dev uuid-dev gcc-5
env:
- MATRIX_EVAL="CC=gcc-5"
- os: linux
install:
- sudo apt-get update -qq && sudo apt-get install -y iptables-dev uuid-dev gcc-6
env:
- MATRIX_EVAL="CC=gcc-6"
- os: linux
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get update -qq && sudo apt-get install -y iptables-dev uuid-dev gcc-7
env:
- MATRIX_EVAL="CC=gcc-7"
- os: linux
install:
- sudo apt-get update -qq && sudo apt-get install -y iptables-dev uuid-dev clang-4.0
env:
- MATRIX_EVAL="CC=clang-4.0"
- os: linux
install:
- sudo apt-get update -qq && sudo apt-get install -y iptables-dev uuid-dev clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0"
before_install:
- eval "${MATRIX_EVAL}"
language: c
dist: xenial
sudo: required
script:
- export PATH="$PATH:${BUILD_PREFIX}/bin"
- $CC --version
- ./bootstrap.sh
- ./configure
- make