raw/ntb: introduce NTB raw device driver
[dpdk.git] / .travis.yml
1 language: c
2 cache: ccache
3 compiler:
4   - gcc
5   - clang
6
7 dist: xenial
8
9 os:
10   - linux
11
12 addons:
13   apt:
14     update: true
15     packages: &required_packages
16       - [libnuma-dev, linux-headers-$(uname -r), python3-setuptools, python3-wheel, python3-pip, ninja-build]
17
18 aarch64_packages: &aarch64_packages
19   - *required_packages
20   - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross]
21
22 extra_packages: &extra_packages
23   - *required_packages
24   - [libbsd-dev, libpcap-dev, libcrypto++-dev, libjansson4]
25
26 before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh
27
28 env:
29   - DEF_LIB="static"
30   - DEF_LIB="shared"
31   - DEF_LIB="static" OPTS="-Denable_kmods=false"
32   - DEF_LIB="shared" OPTS="-Denable_kmods=false"
33
34 matrix:
35   include:
36   - env: DEF_LIB="static" OPTS="-Denable_kmods=false" AARCH64=1
37     compiler: gcc
38     addons:
39       apt:
40         packages:
41           - *aarch64_packages
42   - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" AARCH64=1
43     compiler: gcc
44     addons:
45       apt:
46         packages:
47           - *aarch64_packages
48   - env: DEF_LIB="static" EXTRA_PACKAGES=1
49     compiler: gcc
50     addons:
51       apt:
52         packages:
53           - *extra_packages
54   - env: DEF_LIB="shared" EXTRA_PACKAGES=1
55     compiler: gcc
56     addons:
57       apt:
58         packages:
59           - *extra_packages
60   - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1
61     compiler: gcc
62     addons:
63       apt:
64         packages:
65           - *extra_packages
66   - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1
67     compiler: gcc
68     addons:
69       apt:
70         packages:
71           - *extra_packages
72   - env: DEF_LIB="static" EXTRA_PACKAGES=1
73     compiler: clang
74     addons:
75       apt:
76         packages:
77           - *extra_packages
78   - env: DEF_LIB="shared" EXTRA_PACKAGES=1
79     compiler: clang
80     addons:
81       apt:
82         packages:
83           - *extra_packages
84   - env: DEF_LIB="static" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1
85     compiler: clang
86     addons:
87       apt:
88         packages:
89           - *extra_packages
90   - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" EXTRA_PACKAGES=1
91     compiler: clang
92     addons:
93       apt:
94         packages:
95           - *extra_packages
96
97
98 script: ./.ci/${TRAVIS_OS_NAME}-build.sh