Commit a0de50d2 authored by Daniele Di Proietto's avatar Daniele Di Proietto Committed by Andy Zhou

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.

[back ported to branch-2.4 by]
Upstream: e88b97cb

branch-2.4 travis builds are broken due to travis-ci infrastructure
changes. Move to use the newer container infrastructure to
restore builds. Note, libfuse-dev is required for branch-2.4 builds.
Signed-off-by: default avatarDaniele Di Proietto <>
CC: Joe Stringer <>
Acked-by: default avatarBen Pfaff <>
Signed-off-by: default avatarAndy Zhou <>
parent 02c0dda8
......@@ -3,8 +3,20 @@ compiler:
- gcc
- clang
- libssl-dev
- llvm-dev
- gcc-multilib
- libfuse-dev
before_install: ./.travis/
before_script: export PATH=$PATH:$HOME/bin
sudo: false
- OPTS="--disable-ssl"
sudo -E apt-get update -qq
sudo -E apt-get install -qq libssl-dev llvm-dev
sudo -E apt-get install -qq gcc-multilib
if [ "$DPDK" ]; then
sudo -E apt-get install -qq libfuse-dev
git clone git://
cd sparse && make && sudo -E make install PREFIX=/usr && cd ..
cd sparse && make && make install && cd ..
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment