Permalink
Browse files

make 'script:' in .travis.yml do everything.

Previously I had it doing additional testing via the 'after_success:'
option, but if those scripts failed, they wouldn't fail the build.
Let's do everything in 'script:'.
  • Loading branch information...
1 parent 8c14b08 commit 3e919d330d7ca79966b479e69df3510ec3a4ee63 @fpotter fpotter committed Jul 9, 2013
Showing with 1 addition and 6 deletions.
  1. +1 −6 .travis.yml
View
@@ -1,7 +1,2 @@
language: objective-c
-script: ./build.sh
-after_success:
- - # With xctool built, now build and test xctool using xctool...
- - ./xctool.sh -workspace xctool.xcworkspace -scheme xctool build
- - ./xctool.sh -workspace xctool.xcworkspace -scheme xctool build-tests
- - ./xctool.sh -workspace xctool.xcworkspace -scheme xctool run-tests
+script: ./build.sh && ./xctool.sh -workspace xctool.xcworkspace -scheme xctool build build-tests run-tests

0 comments on commit 3e919d3

Please sign in to comment.