From 84ff3218df9abc77f08ac6e99c8e259c0f4e9a76 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 4 Aug 2015 15:34:57 +0200 Subject: build: travis: Switch from legacy to container based travis builds We should get faster builds by using their new infrastructure. Reference: http://docs.travis-ci.com/user/migrating-from-legacy/ Signed-off-by: Tobias Klauser --- .travis.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71a59ed..4775ff4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,19 @@ language: c compiler: - gcc - clang +sudo: false -before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnetfilter-conntrack-dev libgeoip-dev liburcu-dev libpcap-dev libnet1-dev libcli-dev +addons: + apt: + packages: + - libnl-3-dev + - libnl-genl-3-dev + - libnl-route-3-dev + - libnetfilter-conntrack-dev + - libgeoip-dev + - liburcu-dev + - libpcap-dev + - libnet1-dev + - libcli-dev script: CC=$CC ./configure && make CC=$CC -- cgit v1.2.3-54-g00ecf