From 84848ef813b000692ca98af3c6fd9c4a38a32b12 Mon Sep 17 00:00:00 2001 From: Anders Ha Date: Sat, 23 Dec 2017 18:56:31 +0800 Subject: [PATCH] Use Xcode 9.2 for CI. Update CI config. --- .travis.yml | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index a15d29916..fd72bd83b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: objective-c -osx_image: xcode9 +osx_image: xcode9.2 before_install: true install: true branches: @@ -7,6 +7,10 @@ branches: - master script: - script/build +cache: + directories: + - $HOME/Library/Caches/org.carthage.CarthageKit/dependencies + - Carthage/Build xcode_workspace: ReactiveObjC.xcworkspace matrix: include: @@ -24,41 +28,19 @@ matrix: env: - XCODE_SDK=appletvsimulator - XCODE_ACTION="build-for-testing test-without-building" - - XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p" + - XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV" - xcode_scheme: ReactiveObjC-watchOS env: - XCODE_SDK=watchsimulator - XCODE_ACTION=build - - XCODE_DESTINATION="platform=watchOS Simulator,name=Apple Watch - 38mm" - - script: - - brew update - - brew outdated carthage || brew upgrade carthage - - carthage build --no-skip-current --platform mac - env: - - JOB=CARTHAGE-macOS - - script: - - brew update - - brew outdated carthage || brew upgrade carthage - - carthage build --no-skip-current --platform iOS - env: - - JOB=CARTHAGE-iOS - - script: - - brew update - - brew outdated carthage || brew upgrade carthage - - carthage build --no-skip-current --platform tvOS - env: - - JOB=CARTHAGE-tvOS - - script: - - brew update - - brew outdated carthage || brew upgrade carthage - - carthage build --no-skip-current --platform watchOS - env: - - JOB=CARTHAGE-watchOS + - XCODE_DESTINATION="platform=watchOS Simulator,name=Apple Watch Series 3 - 38mm" - script: - pod repo update --silent - pod lib lint ReactiveObjC.podspec env: - JOB=PODSPEC + - stage: carthage + script: carthage build --cache-builds --no-skip-current notifications: email: false slack: