From 971a7a333cf525c9a829a549a5e975fb5f1c2103 Mon Sep 17 00:00:00 2001 From: Aleksey Garbarev Date: Mon, 11 Jan 2016 17:26:10 +0600 Subject: [PATCH] Fixing build script for the CI server --- build.sh | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/build.sh b/build.sh index 042fd7569..267e90415 100755 --- a/build.sh +++ b/build.sh @@ -39,28 +39,15 @@ ditto ${resourceDir}/build-failed.png ${reportsDir}/build-status/build-status.pn #xcodebuild -project Typhoon.xcodeproj/ -scheme 'Typhoon' clean build | xcpretty -c #Run tests and produce coverage report for iOS Simulator -osVersion=9.1 -platform=iOS_Simulator_$osVersion +platform=iOS_Simulator mkdir -p ${reportsDir}/${platform} xcodebuild clean test -project Typhoon.xcodeproj -scheme 'Typhoon-iOSTests' -configuration Debug \ --destination "platform=iOS Simulator,name=iPhone 5s,OS=$osVersion" | xcpretty -c --report junit +-destination "platform=iOS Simulator,name=iPhone 5s,OS=latest" | xcpretty -c --report junit mv ${reportsDir}/junit.xml ${reportsDir}/${platform}/junit.xml -groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/$platform -r${requiredCoverage} +groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/${platform} -r${requiredCoverage} echo '----------------------------------------------------------------------------------------------------' -#Run tests and produce coverage report for iOS Simulator -osVersion=8.4 -platform=iOS_Simulator_$osVersion -mkdir -p ${reportsDir}/${platform} -xcodebuild clean test -project Typhoon.xcodeproj -scheme 'Typhoon-iOSTests' -configuration Debug \ --destination "platform=iOS Simulator,name=iPhone 5s,OS=$osVersion" | xcpretty -c --report junit -mv ${reportsDir}/junit.xml ${reportsDir}/${platform}/junit.xml - -groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/$platform -r${requiredCoverage} -echo '----------------------------------------------------------------------------------------------------' - - #Compile, run tests and produce coverage report for OSX platform=OSX mkdir -p ${reportsDir}/${platform}