Skip to content

Commit

Permalink
Run tests using xcpretty
Browse files Browse the repository at this point in the history
  • Loading branch information
lazerwalker committed Apr 21, 2014
1 parent a7436e9 commit 53279b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: objective-c
script: xcodebuild test -workspace IntentKitDemo.xcworkspace -scheme IntentKitDemo -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
before_install: gem install cocoapods
script: rake test
before_install: gem install cocoapods && gem install xcpretty
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
task :default => :test

task :test do
sh 'xcodebuild clean test -workspace IntentKitDemo.xcworkspace -scheme IntentKitDemo -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -tc && exit ${PIPESTATUS[0]}'
end

0 comments on commit 53279b9

Please sign in to comment.