]> git.proxmox.com Git - ovs.git/blobdiff - .travis.yml
compat: Fix compile warning.
[ovs.git] / .travis.yml
index ea1d7e7ebea41f03def535ece598f65278114e7e..9fd8bbe01680e5a18b04f7903f52e9fb9c37bc2c 100644 (file)
@@ -3,40 +3,82 @@ compiler:
   - gcc
   - clang
 
+os:
+  - linux
+
+cache:
+  directories:
+    - dpdk-dir
+
 addons:
   apt:
     packages:
       - bc
-      - gcc-multilib
       - 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/prepare.sh
+before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh
 
 before_script: export PATH=$PATH:$HOME/bin
 
-sudo: false
-
 env:
   - OPTS="--disable-ssl"
-  - TESTSUITE=1 KERNEL=3.18.1
+  - TESTSUITE=1 KERNEL=3.16
   - TESTSUITE=1 OPTS="--enable-shared"
-  - BUILD_ENV="-m32" OPTS="--disable-ssl"
-  - KERNEL=3.17.7 DPDK=1
-  - KERNEL=3.17.7 DPDK=1 OPTS="--enable-shared"
-  - KERNEL=4.2.5
-  - KERNEL=4.1.12
-  - KERNEL=3.18.23
-  - KERNEL=3.14.56
-  - KERNEL=3.12.49
-  - KERNEL=3.10.92
-  - KERNEL=3.4.110
-  - KERNEL=3.2.72
-  - KERNEL=2.6.32.68
-
-script: ./.travis/build.sh $OPTS
+  - TESTSUITE=1 DPDK=1
+  - TESTSUITE=1 LIBS=-ljemalloc
+  - KERNEL_LIST="5.8 5.5 5.4 4.19"
+  - KERNEL_LIST="4.14 4.9 4.4 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"
+    - env: DEB_PACKAGE=1
+      addons:
+        apt:
+          packages:
+            - linux-headers-$(uname -r)
+            - build-essential
+            - fakeroot
+            - devscripts
+            - equivs
+
+script: ./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS
 
 notifications:
   email:
     recipients:
-      - build@openvswitch.org
+      - ovs-build@openvswitch.org