Permalink
Browse files

Fixes CI.

  • Loading branch information...
kzaher committed Jun 8, 2018
1 parent 1474174 commit 1ce28ba4a6a361f98e9ee806963645350c7d3411
Showing with 4 additions and 4 deletions.
  1. +1 −1 .travis.yml
  2. +3 −3 scripts/common.sh
@@ -6,7 +6,7 @@ os:
language: generic
sudo: required
dist: trusty
osx_image: xcode9
osx_image: xcode9.3
env:
- DANGER=1
- TEST=iOS
@@ -27,23 +27,23 @@ if [[ `uname` == "Darwin" ]]; then
elif [ `xcrun simctl list runtimes | grep com.apple.CoreSimulator.SimRuntime.iOS-11-4 | wc -l` -eq 1 ]; then
DEFAULT_IOS_SIMULATOR=RxSwiftTest/iPhone-6/iOS/11.4
else
DEFAULT_IOS_SIMULATOR=RxSwiftTest/iPhone-6/iOS/11.3
DEFAULT_IOS_SIMULATOR=RxSwiftTest/iPhone-6/iOS/11.0
fi
if [ `xcrun simctl list runtimes | grep com.apple.CoreSimulator.SimRuntime.watchOS-4-3 | wc -l` -eq 1 ]; then
DEFAULT_WATCHOS_SIMULATOR=RxSwiftTest/Apple-Watch-38mm/watchOS/4.3
elif [ `xcrun simctl list runtimes | grep com.apple.CoreSimulator.SimRuntime.watchOS-4-4 | wc -l` -eq 1 ]; then
DEFAULT_WATCHOS_SIMULATOR=RxSwiftTest/Apple-Watch-38mm/watchOS/4.4
else
DEFAULT_WATCHOS_SIMULATOR=RxSwiftTest/Apple-Watch-38mm/watchOS/4.3
DEFAULT_WATCHOS_SIMULATOR=RxSwiftTest/Apple-Watch-38mm/watchOS/4.0
fi
if [ `xcrun simctl list runtimes | grep com.apple.CoreSimulator.SimRuntime.tvOS-11-3 | wc -l` -eq 1 ]; then
DEFAULT_TVOS_SIMULATOR=RxSwiftTest/Apple-TV-1080p/tvOS/11.3
elif [ `xcrun simctl list runtimes | grep com.apple.CoreSimulator.SimRuntime.tvOS-11-4 | wc -l` -eq 1 ]; then
DEFAULT_TVOS_SIMULATOR=RxSwiftTest/Apple-TV-1080p/tvOS/11.4
else
DEFAULT_TVOS_SIMULATOR=RxSwiftTest/Apple-TV-1080p/tvOS/11.3
DEFAULT_TVOS_SIMULATOR=RxSwiftTest/Apple-TV-1080p/tvOS/11.0
fi
fi
RUN_SIMULATOR_BY_NAME=0

0 comments on commit 1ce28ba

Please sign in to comment.