From 94de39fd6b8715fc8c238e81586ff89b1fefc260 Mon Sep 17 00:00:00 2001 From: Liam Staskawicz Date: Tue, 4 Aug 2015 10:21:22 -0700 Subject: [PATCH] travis: prelim auto build support --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0558fc0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: cpp + +sudo: required +# not totally clear why this is required, but travis support recommended it +# to allow gcc-4.8 to be installed as the system gcc +services: +- docker + +# need at least gcc 4.8 for -std=c++11 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + +script: make + +compiler: +- clang +- gcc