summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorShu Shen <shu.shen@radisys.com>2015-01-02 23:14:30 -0800
committerThomas Graf <tgraf@noironetworks.com>2015-01-05 14:15:19 +0100
commit6c3cc113824002b079098843dc5a93522ae623bd (patch)
treea859e6191fba69854722bfcab4e1a0cebfc0b513 /.travis.yml
parent1368af0c854030791376f3d235e630f129c0cd8a (diff)
downloadopenvswitch-6c3cc113824002b079098843dc5a93522ae623bd.tar.gz
travis: support versioning of DPDK and options to specify git repo and tag
Use DPDK_VER to specify the version of DPDK, and DPDK_GIT to specify the URL of the DPDK git repository. Both flags require "DPDK=1" and "--with-dpdk" shall no longer be specified as part of "OPTS" environment. Example uses: - skip both flags to use v1.7.1 tarball from dpdk.org as before: KERNEL=3.17.4 DPDK=1 - specify DPDK_VER only to use a version of tarball from dpdk.org: KERNEL=3.17.4 DPDK=1 DPDK_VER=1.7.1 - specify both DPDK_VER and DPDK_GIT to check out the tag "v$DPDK_VER" from the git repository "$DPDK_GIT": KERNEL=3.18 DPDK=1 DPDK_VER=1.7.1sp1 DPDK_GIT=https://github.com/shushen/dpdk Signed-off-by: Shu Shen <shu.shen@radisys.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b91327d34..7056f54ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ before_install: ./.travis/prepare.sh
env:
- OPTS="--disable-ssl"
- TESTSUITE=1 KERNEL=3.17.4
- - KERNEL=3.17.4 DPDK=1 OPTS="--with-dpdk=./dpdk-1.7.1/build"
+ - KERNEL=3.17.4 DPDK=1
- TESTSUITE=1 OPTS="--enable-shared"
- KERNEL=3.17.4 DPDK=1 OPTS="--enable-shared"
- KERNEL=3.16.7