mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
9967a9edbe
Travis-ci log output is huge and overflows internal travis-ci view, which makes it hard to find errors. Redirect some output to a file and dump it only if it fails. Remove "v" option from tar that builds and extracts the srcdist. While running the tests manually, some non-POSIX (bashisms) with == vs = came to light. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5555)
12 lines
257 B
Bash
12 lines
257 B
Bash
#! /bin/sh
|
|
|
|
# $1 is expected to be $TRAVIS_OS_NAME
|
|
|
|
./Configure dist
|
|
if [ "$1" == osx ]; then
|
|
make NAME='_srcdist' TARFILE='_srcdist.tar' \
|
|
TAR_COMMAND='$(TAR) $(TARFLAGS) -cf -' tar
|
|
else
|
|
make TARFILE='_srcdist.tar' NAME='_srcdist' dist
|
|
fi
|