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