Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #43 from danthorpe/feature/MNY-43_coveralls
Browse files Browse the repository at this point in the history
Move Code Coverage to Coveralls
  • Loading branch information
danthorpe committed Mar 4, 2016
2 parents fed8308 + 9347295 commit fff7077
Show file tree
Hide file tree
Showing 12 changed files with 166 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .ci/buildkite/pipeline.template.yml
Expand Up @@ -12,7 +12,7 @@ steps:
-
type: "waiter"
-
name: ":codecov: Send Coverage"
name: ":muscle: Send Coverage"
command: .ci/scripts/send-coverage
agents:
name: "$BUILDKITE_AGENT_META_DATA_NAME"
4 changes: 3 additions & 1 deletion .ci/scripts/send-coverage
@@ -1,2 +1,4 @@
#!/usr/bin/env bash
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -D .ci/xcodebuild-data
source /usr/local/opt/chruby/share/chruby/chruby.sh
chruby ruby
bundle exec slather coverage --scheme Money-iOS --buildkite --coveralls --build-directory .ci/xcodebuild-data
6 changes: 6 additions & 0 deletions .slather.yml
@@ -0,0 +1,6 @@
coverage_service: coveralls
xcodeproj: Money.xcodeproj
build_directory: .ci/xcodebuild-data
ignore:
- Tests/*
- Supporting Files/*
3 changes: 2 additions & 1 deletion Gemfile
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gem 'scan'
gem 'fastlane', '>= 1.35'
gem 'fastlane'
gem 'xcpretty'
gem 'slather'
196 changes: 104 additions & 92 deletions Gemfile.lock
@@ -1,41 +1,38 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.5)
activesupport (4.2.5.2)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
autoparse (0.3.3)
addressable (>= 2.3.1)
extlib (>= 0.9.15)
multi_json (>= 1.0.0)
babosa (1.0.2)
cert (1.2.7)
fastlane_core (>= 0.26.4, < 1.0.0)
spaceship (>= 0.15.1, < 1.0.0)
cert (1.4.0)
fastlane_core (>= 0.29.1, < 1.0.0)
spaceship (>= 0.22.0, < 1.0.0)
claide (0.9.1)
coderay (1.1.0)
clamp (0.6.5)
coderay (1.1.1)
colored (1.2)
commander (4.3.5)
highline (~> 1.7.2)
credentials_manager (0.13.0)
credentials_manager (0.15.0)
colored
commander (>= 4.3.5)
highline (>= 1.7.1)
security
deliver (1.6.4)
deliver (1.10.3)
credentials_manager (>= 0.12.0, < 1.0.0)
fastimage (~> 1.6)
fastlane_core (>= 0.26.4, < 1.0.0)
fastlane_core (>= 0.36.4, < 1.0.0)
plist (~> 3.1.0)
spaceship (>= 0.15.0, <= 1.0.0)
domain_name (0.5.25)
spaceship (>= 0.19.0, <= 1.0.0)
domain_name (0.5.20160216)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.0.2)
dotenv (2.1.0)
excon (0.45.4)
extlib (0.9.16)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
Expand All @@ -45,35 +42,35 @@ GEM
faraday (>= 0.7.4, < 0.10)
fastimage (1.6.8)
addressable (~> 2.3, >= 2.3.5)
fastlane (1.48.0)
fastlane (1.66.0)
addressable (~> 2.3.8)
cert (>= 1.2.7, < 2.0.0)
credentials_manager (>= 0.13.0, < 1.0.0)
deliver (>= 1.6.4, < 2.0.0)
fastlane_core (>= 0.29.1, < 1.0.0)
cert (>= 1.3.0, < 2.0.0)
credentials_manager (>= 0.15.0, < 1.0.0)
deliver (>= 1.10.1, < 2.0.0)
fastlane_core (>= 0.36.8, < 1.0.0)
frameit (>= 2.4.1, < 3.0.0)
gym (>= 1.1.6, < 2.0.0)
krausefx-shenzhen (>= 0.14.6)
match (>= 0.1.2, < 1.0.0)
pem (>= 1.1.0, < 2.0.0)
pilot (>= 1.1.0, < 2.0.0)
gym (>= 1.6.1, < 2.0.0)
krausefx-shenzhen (>= 0.14.7)
match (>= 0.3.0, < 1.0.0)
pem (>= 1.2.0, < 2.0.0)
pilot (>= 1.3.0, < 2.0.0)
plist (~> 3.1.0)
produce (>= 1.1.0, < 2.0.0)
scan (>= 0.3.2, < 1.0.0)
sigh (>= 1.2.1, < 2.0.0)
scan (>= 0.5.0, < 1.0.0)
screengrab (>= 0.2.1, < 1.0.0)
sigh (>= 1.3.1, < 2.0.0)
slack-notifier (~> 1.3)
snapshot (>= 1.4.2, < 2.0.0)
spaceship (>= 0.18.0, < 1.0.0)
supply (>= 0.2.2, < 1.0.0)
snapshot (>= 1.7.0, < 2.0.0)
spaceship (>= 0.22.0, < 1.0.0)
supply (>= 0.4.0, < 1.0.0)
terminal-notifier (~> 1.6.2)
terminal-table (~> 1.4.5)
xcode-install (~> 1.0.1)
xcodeproj (>= 0.20, < 1.0.0)
xcodeproj (>= 0.20, < 2.0.0)
xcpretty (>= 0.2.1)
fastlane_core (0.29.1)
fastlane_core (0.37.0)
babosa
colored
commander (>= 4.3.5)
commander (= 4.3.5)
credentials_manager (>= 0.11.0, < 1.0.0)
excon (~> 0.45.0)
highline (>= 1.7.2)
Expand All @@ -83,42 +80,44 @@ GEM
rubyzip (~> 1.1.6)
sentry-raven (~> 0.15)
terminal-table (~> 1.4.5)
frameit (2.4.1)
frameit (2.5.1)
deliver (> 0.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.16.0, < 1.0.0)
fastlane_core (>= 0.36.1, < 1.0.0)
mini_magick (~> 4.0.2)
google-api-client (0.8.6)
activesupport (>= 3.2)
google-api-client (0.9.3)
addressable (~> 2.3)
autoparse (~> 0.3)
extlib (~> 0.9)
faraday (~> 0.9)
googleauth (~> 0.3)
launchy (~> 2.4)
multi_json (~> 1.10)
retriable (~> 1.4)
signet (~> 0.6)
googleauth (0.5.0)
googleauth (~> 0.5)
httpclient (~> 2.7)
hurley (~> 0.1)
memoist (~> 0.11)
mime-types (>= 1.6)
representable (~> 2.3.0)
retriable (~> 2.0)
thor (~> 0.19)
googleauth (0.5.1)
faraday (~> 0.9)
jwt (~> 1.4)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
gym (1.2.0)
fastlane_core (>= 0.25.0, < 1.0.0)
gym (1.6.1)
fastlane_core (>= 0.36.1, < 1.0.0)
plist
rubyzip (>= 1.1.7)
terminal-table
xcpretty (>= 0.2.1)
highline (1.7.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
httpclient (2.7.1)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
jwt (1.5.2)
krausefx-shenzhen (0.14.6)
jwt (1.5.3)
krausefx-shenzhen (0.14.7)
commander (~> 4.3)
dotenv (>= 0.7)
faraday (~> 0.9)
Expand All @@ -130,74 +129,87 @@ GEM
rubyzip (~> 1.1)
security (~> 0.1.3)
terminal-table (~> 1.4.5)
launchy (2.4.3)
addressable (~> 2.3)
little-plugger (1.1.4)
logging (2.0.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
match (0.1.2)
cert (>= 1.2.7, < 2.0.0)
match (0.3.0)
cert (>= 1.2.8, < 2.0.0)
credentials_manager (>= 0.13.0, < 1.0.0)
fastlane_core (>= 0.29.1, < 1.0.0)
fastlane_core (>= 0.36.1, < 1.0.0)
security
sigh (>= 1.2.1, < 2.0.0)
spaceship (>= 0.16.0, < 1.0.0)
sigh (>= 1.2.2, < 2.0.0)
spaceship (>= 0.18.1, < 1.0.0)
memoist (0.14.0)
method_source (0.8.2)
mime-types (3.0)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0221)
mini_magick (4.0.4)
minitest (5.8.3)
mini_portile2 (2.0.0)
minitest (5.8.4)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.0.1)
pem (1.1.0)
fastlane_core (>= 0.26.4, < 1.0.0)
spaceship (>= 0.12.0, < 1.0.0)
pilot (1.2.0)
net-ssh (3.0.2)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
os (0.9.6)
pem (1.3.0)
fastlane_core (>= 0.36.1, < 1.0.0)
spaceship (>= 0.22.0, < 1.0.0)
pilot (1.4.1)
credentials_manager (>= 0.3.0)
fastlane_core (>= 0.16.1, < 1.0.0)
spaceship (>= 0.16.0, < 1.0.0)
fastlane_core (>= 0.36.5, < 1.0.0)
spaceship (>= 0.20.0, < 1.0.0)
terminal-table (~> 1.4.5)
plist (3.1.0)
produce (1.1.0)
fastlane_core (>= 0.26.6, < 1.0.0)
spaceship (>= 0.12.0)
produce (1.1.1)
fastlane_core (>= 0.30.0, < 1.0.0)
spaceship (>= 0.16.0)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
retriable (1.4.1)
representable (2.3.0)
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.10.1)
rubyzip (1.1.7)
scan (0.3.2)
fastlane_core (>= 0.26.6, < 1.0.0)
scan (0.5.2)
fastlane_core (>= 0.36.1, < 1.0.0)
slack-notifier (~> 1.3)
terminal-table
xcpretty (>= 0.2.1)
xcpretty-travis-formatter (>= 0.0.3)
screengrab (0.3.0)
fastlane_core (>= 0.36.8, < 1.0.0)
security (0.1.3)
sentry-raven (0.15.2)
sentry-raven (0.15.6)
faraday (>= 0.7.6)
sigh (1.2.1)
fastlane_core (>= 0.26.4, < 1.0.0)
sigh (1.4.0)
fastlane_core (>= 0.36.1, < 1.0.0)
plist (~> 3.1)
spaceship (>= 0.12.3)
signet (0.7.0)
spaceship (>= 0.22.0, < 1.0.0)
signet (0.7.2)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slack-notifier (1.5.1)
slather (2.0.1)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (>= 0.28.2, < 1.1.0)
slop (3.6.0)
snapshot (1.4.2)
snapshot (1.11.0)
fastimage (~> 1.6.3)
fastlane_core (>= 0.21.0, < 1.0.0)
fastlane_core (>= 0.36.1, < 1.0.0)
plist (~> 3.1.0)
xcpretty (>= 0.2.1)
spaceship (0.18.0)
spaceship (0.22.0)
colored
credentials_manager (>= 0.9.0)
faraday (~> 0.9)
Expand All @@ -207,26 +219,25 @@ GEM
multi_xml (~> 0.5)
plist (~> 3.1)
pry
supply (0.2.2)
credentials_manager (>= 0.10.0)
fastlane_core (>= 0.19.0)
google-api-client (~> 0.8.6)
supply (0.5.2)
credentials_manager (>= 0.15.0)
fastlane_core (>= 0.35.0)
google-api-client (~> 0.9.1)
terminal-notifier (1.6.3)
terminal-table (1.4.5)
thor (0.19.1)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uber (0.0.15)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
xcode-install (1.0.1)
claide (~> 0.9.1)
spaceship (>= 0.13.0, < 1.0.0)
unf_ext (0.0.7.2)
xcodeproj (0.28.2)
activesupport (>= 3)
claide (~> 0.9.1)
colored (~> 1.2)
xcpretty (0.2.1)
xcpretty (0.2.2)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)
Expand All @@ -235,9 +246,10 @@ PLATFORMS
ruby

DEPENDENCIES
fastlane (>= 1.35)
fastlane
scan
slather
xcpretty

BUNDLED WITH
1.10.6
1.11.2
2 changes: 2 additions & 0 deletions Money.xcodeproj/project.pbxproj
Expand Up @@ -899,6 +899,7 @@
65B92ACC1BE0E46C00F82024 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_CODE_COVERAGE = YES;
ENABLE_TESTABILITY = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -908,6 +909,7 @@
65B92ACD1BE0E46C00F82024 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_CODE_COVERAGE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
};
name = Release;
Expand Down
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>
</Testables>
<AdditionalOptions>
Expand Down

0 comments on commit fff7077

Please sign in to comment.