mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Travis: Limit the double compilation to a single OS
This commit is contained in:
parent
885529c5dc
commit
292b7bdf0d
@ -17,7 +17,7 @@ before_script:
|
||||
script:
|
||||
- ./configure --disable-dependency-tracking
|
||||
- >
|
||||
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
|
||||
if [ "$TRAVIS_OS_NAME" = 'linux' -a "$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 > /dev/null
|
||||
- ./configure --disable-dependency-tracking --enable-minimal
|
||||
|
Loading…
Reference in New Issue
Block a user