Verbose logging for travis

This commit is contained in:
Felix Schulze 2014-04-17 15:38:35 +02:00
parent 405119928c
commit b9e0ff0952
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,6 @@
language: objective-c language: objective-c
language: objective-c
before_install: before_install:
- ./build-libssl.sh - ./build-libssl.sh verbose
- xcrun -sdk iphoneos lipo -info ./lib/*.a - xcrun -sdk iphoneos lipo -info ./lib/*.a
script: script:
- xctool -project OpenSSL-for-iOS.xcodeproj -scheme OpenSSL-for-iOS -sdk iphonesimulator clean build - xctool -project OpenSSL-for-iOS.xcodeproj -scheme OpenSSL-for-iOS -sdk iphonesimulator clean build

View File

@ -113,7 +113,12 @@ do
# add -isysroot to CC= # add -isysroot to CC=
sed -ie "s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} -miphoneos-version-min=7.0 !" "Makefile" sed -ie "s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} -miphoneos-version-min=7.0 !" "Makefile"
if [ "$1" == "verbose" ];
then
make
else
make >> "${LOG}" 2>&1 make >> "${LOG}" 2>&1
fi
if [ $? != 0 ]; if [ $? != 0 ];
then then