Travis: check that the project compiles by including everything

and completely ignoring the normal autotools way.

This is completely unsupported, but some projects use it that
way no matter what.
This commit is contained in:
Frank Denis 2015-11-07 19:17:54 +01:00
parent 8b94965b71
commit a46e3dc8c6

View File

@ -11,6 +11,7 @@ compiler:
before_script: before_script:
- ./autogen.sh - ./autogen.sh
- ( echo '#include <sodium.h>' ; echo 'int main(void) { return sodium_init(); }' ) > /tmp/main.c && gcc -Isrc/libsodium/include -Isrc/libsodium/include/sodium $(find src -name '*.c' -o -name '*.S') /tmp/main.c
script: script:
- ./configure --disable-dependency-tracking - ./configure --disable-dependency-tracking