Integrate with Travis-CI

This commit is contained in:
Dmitry Podgorny
2016-09-04 02:05:00 +03:00
parent c80f99bc68
commit 211170822f

11
.travis.yml Normal file
View File

@@ -0,0 +1,11 @@
language: c
install:
- sudo apt-get update
- sudo apt-get -y install libtool pkg-config libexpat1-dev libxml2-dev libssl-dev check
script:
- ./bootstrap.sh
- ./configure --without-libxml2 && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS && make install && make uninstall
- make clean
- ./configure --with-libxml2 && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS && make install && make uninstall
- make clean
- ./configure --disable-tls && make CFLAGS="-Wall -Werror" && make CFLAGS="-Wall -Werror" check-TESTS && make install && make uninstall