Clarify how the autotools build is done on Travis.

This commit is contained in:
iphydf 2017-01-11 17:53:26 +00:00
parent 86e67f805a
commit a22f5e7c6f
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
# Build toxcore and run tests. # Build toxcore with some custom flags here. Note that this does *not* run the
# tests, so any flags passed here are irrelevant to testing. This only checks
# that we can build toxcore with the specified flags. Tests run with default
# configure flags.
./autogen.sh ./autogen.sh
./configure \ ./configure \
--with-nacl-libs=$CACHE_DIR/lib/amd64 \ --with-nacl-libs=$CACHE_DIR/lib/amd64 \
@ -15,4 +18,7 @@
# ever run natively on the Linux container, never on a Windows cross compilation # ever run natively on the Linux container, never on a Windows cross compilation
# docker instance or an OSX machine. # docker instance or an OSX machine.
make -j$NPROC -k make -j$NPROC -k
# This runs `make check` with the default configure flags, not with the ones
# above.
make distcheck -j$NPROC -k make distcheck -j$NPROC -k