Skip to content

Commit 971a7a3

Browse files
committed
Fixing build script for the CI server
1 parent 080a684 commit 971a7a3

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

build.sh

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,15 @@ ditto ${resourceDir}/build-failed.png ${reportsDir}/build-status/build-status.pn
3939
#xcodebuild -project Typhoon.xcodeproj/ -scheme 'Typhoon' clean build | xcpretty -c
4040

4141
#Run tests and produce coverage report for iOS Simulator
42-
osVersion=9.1
43-
platform=iOS_Simulator_$osVersion
42+
platform=iOS_Simulator
4443
mkdir -p ${reportsDir}/${platform}
4544
xcodebuild clean test -project Typhoon.xcodeproj -scheme 'Typhoon-iOSTests' -configuration Debug \
46-
-destination "platform=iOS Simulator,name=iPhone 5s,OS=$osVersion" | xcpretty -c --report junit
45+
-destination "platform=iOS Simulator,name=iPhone 5s,OS=latest" | xcpretty -c --report junit
4746
mv ${reportsDir}/junit.xml ${reportsDir}/${platform}/junit.xml
4847

49-
groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/$platform -r${requiredCoverage}
48+
groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/${platform} -r${requiredCoverage}
5049
echo '----------------------------------------------------------------------------------------------------'
5150

52-
#Run tests and produce coverage report for iOS Simulator
53-
osVersion=8.4
54-
platform=iOS_Simulator_$osVersion
55-
mkdir -p ${reportsDir}/${platform}
56-
xcodebuild clean test -project Typhoon.xcodeproj -scheme 'Typhoon-iOSTests' -configuration Debug \
57-
-destination "platform=iOS Simulator,name=iPhone 5s,OS=$osVersion" | xcpretty -c --report junit
58-
mv ${reportsDir}/junit.xml ${reportsDir}/${platform}/junit.xml
59-
60-
groovy http://frankencover.it/with --source-dir Source --output-dir ${reportsDir}/$platform -r${requiredCoverage}
61-
echo '----------------------------------------------------------------------------------------------------'
62-
63-
6451
#Compile, run tests and produce coverage report for OSX
6552
platform=OSX
6653
mkdir -p ${reportsDir}/${platform}

0 commit comments

Comments
 (0)