]> git.proxmox.com Git - mirror_ovs.git/blobdiff - .travis.yml
NEWS: Move '--offload-stats' entry to correct release.
[mirror_ovs.git] / .travis.yml
index 85b13d07ff9ba0024e0f351ad22cb3bf0f2b1c59..51d051108091bb1ae3d9af2c8c11853982b3224c 100644 (file)
@@ -1,13 +1,58 @@
 language: c
-compiler:
-  - gcc
-  - clang
 
-before_install: ./.travis/prepare.sh
+os:
+  - linux
 
-env:
-  - OPTS="--disable-ssl"
-  - TESTSUITE=1 KERNEL=1 OPTS="--with-linux=./linux-3.14.7"
-  - KERNEL=1 DPDK=1 OPTS="--with-dpdk=./dpdk-1.7.0
+cache:
+  directories:
+    - dpdk-dir
 
-script: ./.travis/build.sh $OPTS
+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
+      - python3-setuptools
+      - python3-wheel
+      - ninja-build
+
+before_install: ./.ci/${TRAVIS_OS_NAME}-prepare.sh
+
+before_script: export PATH=$PATH:$HOME/bin
+
+matrix:
+  include:
+    - 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: ./.ci/${TRAVIS_OS_NAME}-build.sh $OPTS
+
+notifications:
+  email:
+    recipients:
+      - ovs-build@openvswitch.org