diff --git a/.travis.yml b/.travis.yml index 1a32ede..c850ba2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,10 @@ +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 -# 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