diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-08-04 15:34:57 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-08-06 09:07:31 +0200 |
commit | 84ff3218df9abc77f08ac6e99c8e259c0f4e9a76 (patch) | |
tree | ac446ee764628fa4e1c9c2dad50ea1c04725aa41 | |
parent | 2403c37fa6f30bd960cd1301bb4584f74398618c (diff) |
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 <tklauser@distanz.ch>
-rw-r--r-- | .travis.yml | 16 |
1 files 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 |