Skip to content

Commit

Permalink
Makes travis fail when a test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
wokalski committed Nov 21, 2016
1 parent 7210db6 commit 9b86e5a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ osx_image: xcode8.2
language: objective-c
xcode_project: Diff.xcodeproj
xcode_scheme: Diff-Mac
before_install:
- gem install xcpretty
install:
- gem install xcpretty
git:
depth: 3

script:
- xcodebuild test -scheme DiffTests -project Diff.xcodeproj | xcpretty
- set -o pipefail && xcodebuild -project Diff.xcodeproj -scheme DiffTests test | xcpretty

0 comments on commit 9b86e5a

Please sign in to comment.