From 70aa9d65d560f3357e5d2627e66adbb48c260f9f Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Wed, 28 Sep 2016 17:19:25 -0600 Subject: [PATCH] Add a .travis.yml file Necessary to use the Travis CI service. Signed-off-by: Jason Gunthorpe --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e09dd32ff --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: c +# We need at least cmake 2.12, this means we need to use trusty. +# Precise's glibc, etc predates what we are willing to support. +# No reason for sudo. +sudo: required +dist: trusty +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - build-essential + - cmake + - debhelper + - gcc + - gcc-6 + - libnl-3-dev + - libnl-route-3-dev + - make + - ninja-build + - pkg-config + - python + - valgrind +script: + - mkdir build + - cd build + - CC=gcc-6 cmake -GNinja .. + - ninja