Fixed travis build

This commit is contained in:
Snaipe 2015-07-29 12:26:13 +02:00
parent b20c42059b
commit b66afed4cc

View file

@ -4,12 +4,12 @@ compiler:
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get -qq update
- sudo apt-get -qq install -y check gcc-4.9 gettext autopoint
- sudo apt-get -qq install -y check gcc-4.9 gettext cmake
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90
- sudo pip install cpp-coveralls
- .ci/install-libcsptr.sh --prefix=/usr
script:
- ./autogen.sh && ./configure --enable-gcov CFLAGS="-g -O0" && make && make -C samples check
- mkdir -p build && cd $_ && cmake .. && make && make -C samples test
after_success:
- coveralls --gcov gcov-4.9 --exclude samples --exclude dependencies --gcov-options '\-lp' -b .
after_failure: