From 3eddcf87bc1e6c50e1b79cab62ca94e7379a0cfd Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Fri, 15 Jan 2016 08:57:51 +0100 Subject: [PATCH 1/2] Configure Travis to build the project --- .travis.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a32ede..5ef4c68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,11 @@ +osx_image: xcode7.2 language: objective-c -cache: cocoapods -before_install: gem install cocoapods obcd slather -N -# Use when you don't have third party dependencies -script: xctool -project Pod/Pod.xcodeproj -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test +before_install: +- brew update +- brew install carthage +- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi +- carthage update --platform iOS -# Use when you have third party dependencies (CocoaPods generates a workspace) -# podfile: Pod/Podfile -# script: xctool -workspace Pod/Pod.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test - -after_success: slather +script: +- xctool clean build -project Whisper.xcodeproj -scheme Whisper-iOS -sdk iphonesimulator From d805a2a24b6ec0f51abaf75d3a6a3f5ece2137de Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Fri, 15 Jan 2016 09:21:16 +0100 Subject: [PATCH 2/2] Remove carthage update --platform iOS --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5ef4c68..c850ba2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ before_install: - brew update - brew install carthage - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi -- carthage update --platform iOS script: - xctool clean build -project Whisper.xcodeproj -scheme Whisper-iOS -sdk iphonesimulator