Fix up Travis CI

... it doesn't autodetect that it needs to run autoreconf
Also add gtest package.
This commit is contained in:
David Lamparter 2016-02-28 18:26:35 +01:00
parent 663cfe2d23
commit c02d6d59d0

View file

@ -8,11 +8,14 @@ addons:
packages:
- gcc-4.8
- g++-4.8
- libgtest-dev
# use gcc-4.8
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script: autoreconf -f -i -s && ./configure && make && make check
compiler:
- clang
- gcc