From f7fffc9be89c4d1bc03489f982fad20243f941b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Thu, 27 Apr 2017 19:43:05 +0200 Subject: [PATCH] Add initial travis configuration --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..cea4e765d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +dist: trusty +language: cpp + +addons: + apt: + packages: + - libcppunit-dev + - libboost-dev + +os: + - linux + +compiler: + - gcc + +before_install: + # C++14 + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + +install: + # C++14 + - sudo apt-get install -qq g++-5 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90 + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90 + +script: + - ./autogen.sh + - ./configure --enable-test + - make + - make check