From b9e0ff0952c94380f8e793a71e1b4da660636f0c Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Thu, 17 Apr 2014 15:38:35 +0200 Subject: [PATCH] Verbose logging for travis --- .travis.yml | 3 +-- build-libssl.sh | 7 ++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b75cf8..4cde6e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: objective-c -language: objective-c before_install: - - ./build-libssl.sh + - ./build-libssl.sh verbose - xcrun -sdk iphoneos lipo -info ./lib/*.a script: - xctool -project OpenSSL-for-iOS.xcodeproj -scheme OpenSSL-for-iOS -sdk iphonesimulator clean build \ No newline at end of file diff --git a/build-libssl.sh b/build-libssl.sh index 0a997e6..87ab481 100755 --- a/build-libssl.sh +++ b/build-libssl.sh @@ -113,7 +113,12 @@ do # add -isysroot to CC= sed -ie "s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} -miphoneos-version-min=7.0 !" "Makefile" - make >> "${LOG}" 2>&1 + if [ "$1" == "verbose" ]; + then + make + else + make >> "${LOG}" 2>&1 + fi if [ $? != 0 ]; then