Skip to content

Commit

Permalink
before_install: cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
BramYeh authored Jul 1, 2017
1 parent d6ae8e5 commit 88ac26a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ osx_image: xcode8.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet # Since Travis is not always on latest version
install:
- gem install xcpretty -N --no-ri --no-rdoc
script:
- set -o pipefail && xcodebuild test -workspace Example/BAPeekPop.xcworkspace -scheme BAPeekPop-Example -sdk iphonesimulator10.2 -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
- set -o pipefail && xcodebuild -workspace Example/BAPeekPop.xcworkspace -scheme BAPeekPop-Example -sdk iphonesimulator10.2 -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' ONLY_ACTIVE_ARCH=NO build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
after_success:
bash <(curl -s https://codecov.io/bash)

0 comments on commit 88ac26a

Please sign in to comment.