From 18f6b30041f93d12f00ce18e8e5a4725fa8f6c76 Mon Sep 17 00:00:00 2001 From: Jeff Zhang Date: Mon, 17 Sep 2018 15:04:03 +1000 Subject: [PATCH] Update Swift version and Travis --- .swift-version | 2 +- .travis.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.swift-version b/.swift-version index 8a36cd1..bf77d54 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.1 \ No newline at end of file +4.2 diff --git a/.travis.yml b/.travis.yml index 218375b..b1667be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: objective-c -osx_image: xcode9.3 +osx_image: xcode10 branches: only: - master @@ -11,9 +11,10 @@ env: - IOS_FRAMEWORK_SCHEME="JZCalendarWeekView" - IOS_SDK=iphonesimulator matrix: - - DESTINATION="OS=11.3,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" + - DESTINATION="OS=12.0,name=iPhone XS MAX" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" + - DESTINATION="OS=11.4.1,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" - DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" - - DESTINATION="OS=9.3,name=iPhone 6" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" + - DESTINATION="OS=9.3,name=iPhone 6s" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES" before_install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet