]> git.proxmox.com Git - ovs.git/blobdiff - .travis.yml
compat: Fix compile warning.
[ovs.git] / .travis.yml
index ffb9744fe9a62afd4321bedf18dbba2d557eccf9..9fd8bbe01680e5a18b04f7903f52e9fb9c37bc2c 100644 (file)
@@ -3,26 +3,82 @@ compiler:
   - gcc
   - clang
 
-before_install: ./.travis/prepare.sh
+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.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=3.17.7
-  - KERNEL=3.16.7
-  - KERNEL=3.14.27
-  - KERNEL=3.12.35
-  - KERNEL=3.10.63
-  - KERNEL=3.4.105
-  - KERNEL=2.6.32.65
-
-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:
-      - secure: KnZ6yDXDcC4VoiI04ZYR4sRTln7q16aXA7gVBa/M1jPWxl3BiTi+4idVE5bgrB1AK5iUwUXN6LQpjOdFDw1U/D+sKt+xmVG5MyLaTYIFp1TUOgtSGeiG3IUhpu125PN1i2EhXNqANyWyStCiISDvJkDe4D/tbBehip1AEBuQONk=
+      - ovs-build@openvswitch.org