Skip to content

Commit

Permalink
Add test coverage with Coveralls/slather
Browse files Browse the repository at this point in the history
  • Loading branch information
jhersh committed Feb 24, 2015
1 parent 993235b commit 1fdcb98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .slather.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage_service: coveralls
xcodeproj: Example/Espressos.xcodeproj
source_directory: TTTAttributedLabel
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
osx_image: xcode61
language: objective-c
before_install: gem install cocoapods xcpretty -N
before_install: gem install cocoapods xcpretty slather -N
cache: cocoapods
podfile: Example/Podfile
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
script:
- set -o pipefail && xcodebuild -workspace 'Example/Espressos.xcworkspace' -scheme 'Espressos' -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" clean test | xcpretty -c
- set -o pipefail && xcodebuild -workspace 'Example/Espressos.xcworkspace' -scheme 'Espressos'
-sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6"
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c
- pod lib lint --quick
after_success: slather
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TTTAttributedLabel

[![Build Status](https://travis-ci.org/TTTAttributedLabel/TTTAttributedLabel.svg)](https://travis-ci.org/TTTAttributedLabel/TTTAttributedLabel)
[![Build Status](https://travis-ci.org/TTTAttributedLabel/TTTAttributedLabel.svg)](https://travis-ci.org/TTTAttributedLabel/TTTAttributedLabel) [![Coverage Status](https://coveralls.io/repos/TTTAttributedLabel/TTTAttributedLabel/badge.svg)](https://coveralls.io/r/TTTAttributedLabel/TTTAttributedLabel)

**A drop-in replacement for `UILabel` that supports attributes, data detectors, links, and more**

Expand Down

0 comments on commit 1fdcb98

Please sign in to comment.