summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniele Di Proietto <diproiettod@vmware.com>2015-09-23 12:59:26 +0100
committerDaniele Di Proietto <diproiettod@vmware.com>2015-09-29 13:35:23 +0100
commite88b97cbbec3497a2272ace805255d1c87230743 (patch)
treef0bf2c614f85a5915c99e93210706967c20b1cce /.travis.yml
parentd4f8d278a00a87e0d6c6a42f36d1ae93d5a863ad (diff)
downloadopenvswitch-e88b97cbbec3497a2272ace805255d1c87230743.tar.gz
travis: Use container infrastructure.
Recently some testcases have been failing in travis because of a warning related to the use of an L3 device (OpenVZ specific) inside the workers. To get travis tests working again we can move to the newer container infrastructure: this commit does that. The disadvantage is that there's no sudo access anymore, but we can install packages with the apt plugin, and we shouldn't use root for anything else Also, since we're building DPDK with vhost-user (not vhost-cuse), libfuse-dev is not needed anymore. Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/81764972 Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> CC: Joe Stringer <joestringer@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index aca313134..1c11bb569 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,9 +3,18 @@ compiler:
- gcc
- clang
+addons:
+ apt:
+ packages:
+ - libssl-dev
+ - llvm-dev
+ - gcc-multilib
+
before_install: ./.travis/prepare.sh
-sudo: true
+before_script: export PATH=$PATH:$HOME/bin
+
+sudo: false
env:
- OPTS="--disable-ssl"