Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Per issue #10 - Trying to enable code coverage for the project.
Browse files Browse the repository at this point in the history
Per #10 - Trying to trigger a build.

Per issue #10 - Actually sending to codecov.

Per issue #10 - Trying to force a build.

Per issue #10 - Not counting anything in tests or examples.
  • Loading branch information
seanoshea committed Aug 1, 2016
1 parent f0891f8 commit f975069
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ before_install:
- git submodule update
script:
- set -o pipefail
- xcodebuild -workspace examples/app/ScrollViewDelegateMultiplexerExample.xcworkspace -scheme ScrollViewDelegateMultiplexerExample -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build test | xcpretty -c;

- xcodebuild -workspace examples/app/ScrollViewDelegateMultiplexerExample.xcworkspace -scheme ScrollViewDelegateMultiplexerExample -sdk "$SDK" -destination "$DESTINATION" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=NO build test | xcpretty -c;
after_success:
- bash <(curl -s https://codecov.io/bash)
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# MDFScrollViewDelegateMultiplexer
[![Build Status](https://travis-ci.org/material-foundation/material-scrollview-delegate-multiplexer-ios.svg?branch=master)](https://travis-ci.org/material-foundation/material-scrollview-delegate-multiplexer-ios)
[![Code Coverage](http://codecov.io/github/material-foundation/material-scrollview-delegate-multiplexer-ios/coverage.svg?branch=master)](http://codecov.io/github/material-foundation/material-scrollview-delegate-multiplexer-ios?branch=master)

This class acts as a proxy object for `UIScrollViewDelegate` events and forwards all received
events to an ordered list of registered observers.
events to an ordered list of registered observers.

## Installation

Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage:
ignore:
- tests/*
- examples/*
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
INFOPLIST_FILE = ScrollViewDelegateMultiplexerExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.ScrollViewDelegateMultiplexerExample;
Expand All @@ -484,6 +486,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_CODE_COVERAGE = NO;
INFOPLIST_FILE = ScrollViewDelegateMultiplexerExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.ScrollViewDelegateMultiplexerExample;
Expand Down
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 f975069

Please sign in to comment.