Travis: parallelize builds, not checks

This commit is contained in:
Frank Denis 2019-04-02 09:35:44 +02:00
parent 6ea55eea2c
commit 9c2f3fc391

View File

@ -24,13 +24,15 @@ script:
- make distcheck - make distcheck
- make distclean > /dev/null - make distclean > /dev/null
- ./configure --disable-dependency-tracking --enable-minimal - ./configure --disable-dependency-tracking --enable-minimal
- make -j $(nproc)
- make check - make check
- ( 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 - ( 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
- make distclean > /dev/null - make distclean > /dev/null
after_success: after_success:
- ./configure --disable-dependency-tracking --host=powerpc-linux-gnu - ./configure --disable-dependency-tracking --host=powerpc-linux-gnu
- env QEMU_LD_PREFIX=/usr/powerpc-linux-gnu make -j $(nproc) check - make -j $(nproc)
- env QEMU_LD_PREFIX=/usr/powerpc-linux-gnu make check
- make clean > /dev/null - make clean > /dev/null
addons: addons: