1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

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:
- ./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:
- ./configure --disable-dependency-tracking