summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 527240a67125acb0c3dada942bbac8f82e3cac43 (plain)
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
language: c
compiler:
  - gcc
  - clang

os:
  - linux

cache:
  directories:
    - dpdk-dir

addons:
  apt:
    packages:
      - bc
      - libssl-dev
      - llvm-dev
      - libjemalloc1
      - libjemalloc-dev
      - libnuma-dev
      - libpcap-dev
      - python3-openssl
      - python3-pip
      - python3-sphinx
      - libelf-dev
      - selinux-policy-dev
      - libunbound-dev
      - libunwind-dev

before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh

before_script: export PATH=$PATH:$HOME/bin

env:
  - OPTS="--disable-ssl"
  - TESTSUITE=1 KERNEL=3.16
  - TESTSUITE=1 OPTS="--enable-shared"
  - TESTSUITE=1 DPDK=1
  - TESTSUITE=1 LIBS=-ljemalloc
  - KERNEL_LIST="5.5  4.20 4.19 4.18 4.17 4.16"
  - KERNEL_LIST="4.15 4.14 4.9  4.4  3.19 3.16"
  - AFXDP=1 KERNEL=5.3
  - M32=1 OPTS="--disable-ssl"
  - DPDK=1 OPTS="--enable-shared"
  - DPDK_SHARED=1
  - DPDK_SHARED=1 OPTS="--enable-shared"

matrix:
  include:
    - os: osx
      compiler: clang
      env: OPTS="--disable-ssl"
    - arch: arm64
      compiler: gcc
      env: TESTSUITE=1 DPDK=1
    - arch: arm64
      compiler: gcc
      env: KERNEL_LIST="5.5 4.19"
    - arch: arm64
      compiler: gcc
      env: KERNEL_LIST="4.9 3.16"
    - arch: arm64
      compiler: gcc
      env: DPDK_SHARED=1
    - arch: arm64
      compiler: clang
      env: OPTS="--disable-ssl"

script: ./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS

notifications:
  email:
    recipients:
      - ovs-build@openvswitch.org