From a46e3dc8c626fa0d4fb4b596bf005a5c3737cdd8 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 7 Nov 2015 19:17:54 +0100 Subject: [PATCH] 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. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cdaad047..2228089e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ compiler: before_script: - ./autogen.sh + - ( echo '#include ' ; 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: - ./configure --disable-dependency-tracking