mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 01:08:27 +00:00
Add Coveralls support and badge
Summary: Adding Coverall support and badge in README. Waiting on tests. Fixes #37 - [x] All tests pass. Demo project builds and runs. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/110 Differential Revision: D4066685 Pulled By: rnystrom fbshipit-source-id: a9f148fe87e9d25c60afca88c02410898db9b10a
This commit is contained in:
parent
0ecd0ddd9e
commit
d78c0b4e13
6 changed files with 25 additions and 3 deletions
6
.slather.yml
Normal file
6
.slather.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ci_service: travis_ci
|
||||
coverage_service: coveralls
|
||||
xcodeproj: IGListKit.xcodeproj
|
||||
workspace: IGListKit.xcworkspace
|
||||
scheme: IGListKit
|
||||
source_directory: Source
|
||||
|
|
@ -39,7 +39,10 @@ script:
|
|||
|
||||
|
||||
- if [ $RUN_TESTS == "YES" ]; then
|
||||
xcodebuild analyze test -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | bundle exec xcpretty -c;
|
||||
xcodebuild analyze test -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=YES | bundle exec xcpretty -c;
|
||||
else
|
||||
xcodebuild build analyze -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | bundle exec xcpretty -c;
|
||||
fi
|
||||
|
||||
after_success:
|
||||
- cd $TRAVIS_BUILD_DIR && bundle exec slather
|
||||
1
Gemfile
1
Gemfile
|
|
@ -2,3 +2,4 @@ source 'https://rubygems.org'
|
|||
|
||||
gem 'cocoapods', '1.1.0.rc.3'
|
||||
gem 'xcpretty', '0.2.4'
|
||||
gem 'slather', '2.3.0'
|
||||
|
|
|
|||
12
Gemfile.lock
12
Gemfile.lock
|
|
@ -8,6 +8,7 @@ GEM
|
|||
thread_safe (~> 0.3, >= 0.3.4)
|
||||
tzinfo (~> 1.1)
|
||||
claide (1.0.1)
|
||||
clamp (0.6.5)
|
||||
cocoapods (1.1.0.rc.3)
|
||||
activesupport (>= 4.0.2, < 5)
|
||||
claide (>= 1.0.1, < 2.0)
|
||||
|
|
@ -47,11 +48,19 @@ GEM
|
|||
gh_inspector (1.0.2)
|
||||
i18n (0.7.0)
|
||||
json (1.8.3)
|
||||
mini_portile2 (2.1.0)
|
||||
minitest (5.9.1)
|
||||
molinillo (0.5.1)
|
||||
nap (1.1.0)
|
||||
netrc (0.7.8)
|
||||
nokogiri (1.6.8.1)
|
||||
mini_portile2 (~> 2.1.0)
|
||||
rouge (1.11.1)
|
||||
slather (2.3.0)
|
||||
activesupport (>= 4.0.2, < 5)
|
||||
clamp (~> 0.6)
|
||||
nokogiri (~> 1.6.3)
|
||||
xcodeproj (>= 0.20, < 2.0.0)
|
||||
thread_safe (0.3.5)
|
||||
tzinfo (1.2.2)
|
||||
thread_safe (~> 0.1)
|
||||
|
|
@ -67,7 +76,8 @@ PLATFORMS
|
|||
|
||||
DEPENDENCIES
|
||||
cocoapods (= 1.1.0.rc.3)
|
||||
slather (= 2.3.0)
|
||||
xcpretty (= 0.2.4)
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.1
|
||||
1.13.6
|
||||
|
|
|
|||
|
|
@ -700,6 +700,7 @@
|
|||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_CODE_COVERAGE = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
|
|
@ -752,6 +753,7 @@
|
|||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_CODE_COVERAGE = YES;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<img src="https://raw.githubusercontent.com/Instagram/IGListKit/master/Resources/logo-animation.gif" width=400 />
|
||||
</p>
|
||||
|
||||
[](https://travis-ci.org/Instagram/IGListKit) [](https://cocoapods.org/pods/IGListKit) [](https://opensource.org/licenses/BSD-3-Clause) [](https://instagram.github.io/IGListKit) [](https://github.com/Carthage/Carthage)
|
||||
[](https://travis-ci.org/Instagram/IGListKit) [](https://cocoapods.org/pods/IGListKit) [](https://opensource.org/licenses/BSD-3-Clause) [](https://instagram.github.io/IGListKit) [](https://github.com/Carthage/Carthage) [](https://coveralls.io/github/Instagram/IGListKit?branch=master)
|
||||
|
||||
------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue