Create .travis.yml (enables Travis CI)

This commit is contained in:
Pierre Bélissent 2020-05-26 13:21:00 +02:00 committed by Serge Lamikhov-Center
parent 155d986529
commit 9f0c760767
2 changed files with 31 additions and 1 deletions

30
.travis.yml Normal file
View File

@ -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

View File

@ -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