Skip to content

Commit

Permalink
Merge pull request #10 from spotify/ci/add-xcpretty
Browse files Browse the repository at this point in the history
Use xcpretty to format output when building and testing on Travis-CI
  • Loading branch information
rastersize committed Jan 5, 2016
2 parents 2a0f0f4 + 04678e2 commit e562434
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
osx_image: xcode7.2
language: objective-c
install: bundle install --without=documentation
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- bundle install --without=documentation
script:
- xcodebuild build test -project SPTDataLoader.xcodeproj -scheme SPTDataLoader -sdk iphonesimulator ONLY_ACTIVE_ARCH=YES -enableCodeCoverage YES
- set -o pipefail
- xcodebuild build test -project SPTDataLoader.xcodeproj -scheme SPTDataLoader -sdk iphonesimulator ONLY_ACTIVE_ARCH=YES -enableCodeCoverage YES | xcpretty -c -f `xcpretty-travis-formatter`;
after_success: ./slather.sh
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ source 'https://rubygems.org'
gem 'slather',
:git => "https://github.com/viteinfinite/slather",
:branch => "feature-profdata"
gem 'xcpretty'
gem 'xcpretty-travis-formatter'
9 changes: 8 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,26 @@ GEM
minitest (5.8.3)
nokogiri (1.6.7.1)
mini_portile2 (~> 2.0.0.rc2)
rouge (1.10.1)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
xcodeproj (0.28.2)
activesupport (>= 3)
claide (~> 0.9.1)
colored (~> 1.2)
xcpretty (0.2.2)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
ruby

DEPENDENCIES
slather!
xcpretty
xcpretty-travis-formatter

BUNDLED WITH
1.10.6
1.11.2

0 comments on commit e562434

Please sign in to comment.