Skip to content

Commit 9b86e5a

Browse files
committed
Makes travis fail when a test fails
1 parent 7210db6 commit 9b86e5a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ osx_image: xcode8.2
22
language: objective-c
33
xcode_project: Diff.xcodeproj
44
xcode_scheme: Diff-Mac
5-
before_install:
6-
- gem install xcpretty
5+
install:
6+
- gem install xcpretty
77
git:
88
depth: 3
9-
109
script:
11-
- xcodebuild test -scheme DiffTests -project Diff.xcodeproj | xcpretty
10+
- set -o pipefail && xcodebuild -project Diff.xcodeproj -scheme DiffTests test | xcpretty

0 commit comments

Comments
 (0)