diff --git a/.travis.yml b/.travis.yml index 95713cb4..b141f604 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,6 @@ osx_image: xcode7 language: objective-c cache: cocoapods before_install: gem install xcpretty cocoapods obcd slather -N - -# Use when you don't have third party dependencies -script: xcodebuild -project Demo.xcodeproj -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c && exit ${PIPESTATUS[0]} - -# Use when you have third party dependencies (CocoaPods generates a workspace) -# podfile: Podfile -# script: xcodebuild -workspace Demo.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c && exit ${PIPESTATUS[0]} - +podfile: Podfile +script: xcodebuild -workspace Demo.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c && exit ${PIPESTATUS[0]} after_success: slather