forked from facebook/componentkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate coverage stats using slather/Coveralls
- Modify project file to generate code coverage metrics - Use slather plugin in Podfile to generate code coverage for projects included as CocoaPods - Modify .travis.yml to update CocoaPods gem and install activesupport; default CocoaPods version on Travis CI does not support Podfile plugins, and depends on activesupport - Add step to .travis.yml to install slather and send metrics to Coveralls - Add .slather.yml to configure how we send metrics to Coveralls - Add coverage files to .gitignore
- Loading branch information
Showing
5 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ Example/WildeGuess/Pod | |
*xcuserdata | ||
*.xcworkspace | ||
appledoc | ||
*.gcov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
service: travis_ci | ||
coverage_service: coveralls | ||
xcodeproj: ComponentKit.xcodeproj | ||
source_directory: ComponentKit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
language: objective-c | ||
|
||
before_install: | ||
- gem install cocoapods | ||
- gem install activesupport | ||
- gem update cocoapods | ||
- gem install slather | ||
|
||
script: ./build.sh ci | ||
|
||
# Whitelist for branches | ||
branches: | ||
only: | ||
- master | ||
|
||
after_success: | ||
- slather |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters