From f9acddece269ff0a095706c775f81da734fb787b Mon Sep 17 00:00:00 2001 From: Krunoslav Zaher Date: Sun, 23 Aug 2015 21:37:31 +0200 Subject: [PATCH] Speeds up unit tests on build server. --- scripts/common.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/common.sh b/scripts/common.sh index 8d17763a..30898a44 100755 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -26,10 +26,18 @@ DEFAULT_IOS7_SIMULATOR=RxSwiftTest-iPhone4s-iOS_7.1 DEFAULT_IOS8_SIMULATOR=RxSwiftTest-iPhone6-iOS_8.4 DEFAULT_IOS9_SIMULATOR=RxSwiftTest-iPhone6-iOS_9.0 +if [ "${IS_LOCAL}" -eq 1 ]; then IOS7_SIMULATORS="RxSwiftTest-iPhone4s-iOS_7.1 RxSwiftTest-iPhone5-iOS_7.1 RxSwiftTest-iPhone5s-iOS_7.1" IOS8_SIMULATORS="RxSwiftTest-iPhone4s-iOS_8.4 RxSwiftTest-iPhone5-iOS_8.4 RxSwiftTest-iPhone5s-iOS_8.4 RxSwiftTest-iPhone6-iOS_8.4 RxSwiftTest-iPhone6Plus-iOS_8.4" #IOS9_SIMULATORS="RxSwiftTest-iPhone4s-iOS_9.0 RxSwiftTest-iPhone5-iOS_9.0 RxSwiftTest-iPhone5s-iOS_9.0 RxSwiftTest-iPhone6-iOS_9.0 RxSwiftTest-iPhone6Plus-iOS_9.0" IOS9_SIMULATORS="cRxSwiftTest-iPhone6-iOS_9.0" +else +IOS7_SIMULATORS="RxSwiftTest-iPhone4s-iOS_7.1" +IOS8_SIMULATORS="RxSwiftTest-iPhone4s-iOS_8.4" +#IOS9_SIMULATORS="RxSwiftTest-iPhone4s-iOS_9.0" +IOS9_SIMULATORS="RxSwiftTest-iPhone6-iOS_9.0" +fi + BUILD_DIRECTORY=build