]> git.proxmox.com Git - mirror_ovs.git/blobdiff - .travis.yml
acinclude: Warn when --with-linux parameter is supplied.
[mirror_ovs.git] / .travis.yml
index aca3131342180925368c229efe85ea7ff9102e3b..51d051108091bb1ae3d9af2c8c11853982b3224c 100644 (file)
@@ -1,32 +1,58 @@
 language: c
-compiler:
-  - gcc
-  - clang
-
-before_install: ./.travis/prepare.sh
-
-sudo: true
-
-env:
-  - OPTS="--disable-ssl"
-  - TESTSUITE=1 KERNEL=3.18.1
-  - TESTSUITE=1 OPTS="--enable-shared"
-  - BUILD_ENV="-m32" OPTS="--disable-ssl"
-  - KERNEL=4.2
-  - KERNEL=4.1.6
-  - KERNEL=3.17.7 DPDK=1
-  - KERNEL=3.17.7 DPDK=1 OPTS="--enable-shared"
-  - KERNEL=3.18.21
-  - 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
+
+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
+      - 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:
-      - build@openvswitch.org
+      - ovs-build@openvswitch.org