Skip to content

Commit

Permalink
Travis: Yes, update xctool, but do it correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Oct 24, 2014
1 parent 9fec0cc commit 8cc5b71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
@@ -1,13 +1,15 @@
language: objective-c

before_install:
- brew update
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
- Frameworks/gethamcrest
- sudo easy_install cpp-coveralls

script:
- xctool test -project Source/OCMockito.xcodeproj -scheme OCMockito -sdk macosx10.9
- xctool test -project Source/OCMockito.xcodeproj -scheme libocmockito -destination "platform=iOS Simulator,name=iPhone 5,OS=7.1"
- xctool test -project Source/OCMockito.xcodeproj -scheme libocmockito -destination "platform=iOS Simulator,name=iPhone 5s,OS=7.1"
- xctool test -project Source/OCMockito.xcodeproj -scheme libocmockito -destination "platform=iOS Simulator,name=iPhone 5,OS=7.1"
- xctool test -project Source/OCMockito.xcodeproj -scheme libocmockito -destination "platform=iOS Simulator,name=iPhone 5s,OS=7.1"

after_success:
- ./coveralls.rb --exclude-folder Source/Tests --exclude-folder Source/ThirdParty --exclude-folder Frameworks --exclude-folder Examples

0 comments on commit 8cc5b71

Please sign in to comment.