From 9f0c7607672a22ea06396f2990958a140fc5cc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20B=C3=A9lissent?= Date: Tue, 26 May 2020 13:21:00 +0200 Subject: [PATCH] Create .travis.yml (enables Travis CI) --- .travis.yml | 30 ++++++++++++++++++++++++++++++ ELFIOTest/Makefile.am | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f80603e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: cpp + +dist: bionic + +compiler: +- gcc + +os: +- linux + +branches: + only: + - master + +notifications: + email: false + +before_install: +- sudo apt-get update -qq + +install: +- sudo apt-get install libboost-test-dev + +script: +- autoreconf -f -i +- ./configure CXXFLAGS=--std=c++11 +- make +- cd ELFIOTest; autoreconf -f -i +- cd ELFIOTest; ./configure CXXFLAGS=--std=c++11 +- cd ELFIOTest; make check diff --git a/ELFIOTest/Makefile.am b/ELFIOTest/Makefile.am index 362342e..525803a 100644 --- a/ELFIOTest/Makefile.am +++ b/ELFIOTest/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(top_srcdir) +AM_CPPFLAGS = -I$(top_srcdir)/.. bin_PROGRAMS = ELFIOTest ELFIOTest_SOURCES = ELFIOTest.cpp ELFIOTest1.cpp ELFIOTest_LDADD = -lboost_unit_test_framework