Add initial travis configuration
This commit is contained in:
parent
50e8634097
commit
f7fffc9be8
|
@ -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
|
Loading…
Reference in New Issue