Skip to content

Commit

Permalink
Adding code coverage using slather
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyorosz committed Jan 30, 2016
1 parent 511009f commit 7a564cc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .slather.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage_service: coveralls
xcodeproj: SkyFloatingLabelTextField/SkyFloatingLabelTextField.xcodeproj
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ xcode_scheme: SkyFloatingLabelTextField
osx_image: xcode7.2
xcode_sdk: iphonesimulator9.2

before_install:
- gem install slather --no-rdoc --no-ri --no-document --quiet

script:
- xcodebuild clean build test -project SkyFloatingLabelTextField/SkyFloatingLabelTextField.xcodeproj -scheme SkyFloatingLabelTextField -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.2'

after_success:
- cd $TRAVIS_BUILD_DIR && slather
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down

0 comments on commit 7a564cc

Please sign in to comment.