# reference: http://www.objc.io/issue-6/travis-ci.html

language: objective-c

before_install:
  - gem install cocoapods --no-rdoc --no-ri --no-document --quiet
  - gem install slather --no-rdoc --no-ri --no-document --quiet
  - cd Example && pod install && cd $TRAVIS_BUILD_DIR

script:
  - xctool test -workspace Example/TBStateMachine.xcworkspace -scheme TBStateMachine -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

after_success:
  - slather
# reference: http://www.objc.io/issue-6/travis-ci.html

language: objective-c

before_install:
  - brew update
  - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
  - gem install cocoapods --no-rdoc --no-ri --no-document --quiet
  - gem install slather --no-rdoc --no-ri --no-document --quiet
  - cd Example && pod install && cd $TRAVIS_BUILD_DIR

script:
  - xctool test -workspace Example/TBStateMachine.xcworkspace -scheme TBStateMachine -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

after_success:
  - slather
Add workaround for Xcode 6 issues.
Add workaround for Xcode 6 issues.
