Add travis integration

This commit is contained in:
Tatsuhiro Tsujikawa 2015-04-23 00:30:39 +09:00
parent bb8df11d7e
commit 9334256658

37
.travis.yml Normal file
View File

@ -0,0 +1,37 @@
language: cpp
compiler:
- clang
- gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libstdc++-4.9-dev
- autoconf
- automake
- autotools-dev
- libtool
- pkg-config
- libgnutls-dev
- nettle-dev
- libgmp-dev
- libc-ares-dev
- libxml2-dev
- zlib1g-dev
- libsqlite3-dev
- libcppunit-dev
before_install:
- $CC --version
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- $CC --version
before_script:
- autoreconf -i
- automake
- autoconf
- ./configure
script:
- make
- make check