From c011ccd742252e0cbd0a6c8dca2f2dcf1862e692 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 17 Jan 2018 16:36:54 +0100 Subject: [PATCH] Add Travis-CI support This configuration performs build tests for GCC and Clang compilers. Signed-off-by: Yegor Yefremov Signed-off-by: Marc Kleine-Budde --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4bf3a9e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: c + +matrix: + include: + - env: test="x64 4.8.4 (make)" + os: linux + dist: trusty + sudo: required + compiler: gcc + script: make + + - env: test="x64 4.8.4 (autotools)" + os: linux + dist: trusty + sudo: required + compiler: gcc + script: ./autogen.sh && ./configure && make distcheck + + - env: test="x64 5.0 (autotools)" + os: linux + dist: trusty + sudo: required + compiler: clang + script: ./autogen.sh && ./configure && make distcheck + +addons: + apt: + packages: + - autoconf + - automake + - libtool + - m4 + sources: + - ubuntu-toolchain-r-test