diff --git a/.travis.yml b/.travis.yml index fa08beb4..8261e3c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,13 +16,8 @@ before_script: script: - ./configure --disable-dependency-tracking - - make - - sha512sum src/libsodium/.libs/libsodium.so > lib.sum - - make clean - - make CPPFLAGS='-DSODIUM_C99\(X\)=' - - sha512sum src/libsodium/.libs/libsodium.so > lib-oldc.sum - - cmp lib.sum lib-oldc.sum - - make clean + - > + if [ "$CC" = 'gcc' ]; then make CFLAGS='-g0' > /dev/null && cp src/libsodium/.libs/libsodium.so lib.so && make clean > /dev/null && make CFLAGS='-g0' CPPFLAGS='-DSODIUM_C99\(X\)=' > /dev/null && cp src/libsodium/.libs/libsodium.so lib-oldc.so && cmp lib.so lib-oldc.so && echo No binary changes && make clean > /dev/null ; fi - make distcheck - make distclean - ./configure --disable-dependency-tracking --enable-minimal