Skip to content

Commit

Permalink
Generate coverage stats using slather/Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
dasmer committed Apr 23, 2015
1 parent 601499b commit 9e48664
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .slather.yml
@@ -0,0 +1,4 @@
coverage_service: coveralls
xcodeproj: Specta/Specta.xcodeproj
source_directory: Specta/Specta/

4 changes: 4 additions & 0 deletions .travis.yml
@@ -1,5 +1,9 @@
language: objective-c
osx_image: yosemite
before_install:
- gem i slather --no-rdoc
script:
- bundle exec rake specs:ios
- bundle exec rake specs:osx
after_success: slather

1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -2,4 +2,5 @@ source 'http://rubygems.org'

gem 'bundler'
gem 'rake'
gem 'slather'
gem 'xcpretty'
25 changes: 25 additions & 0 deletions Gemfile.lock
@@ -1,7 +1,31 @@
GEM
remote: http://rubygems.org/
specs:
activesupport (4.2.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
clamp (0.6.4)
colored (1.2)
i18n (0.7.0)
json (1.8.2)
mini_portile (0.6.2)
minitest (5.6.0)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
rake (10.4.2)
slather (1.7.0)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (~> 0.23.0)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
xcodeproj (0.23.1)
activesupport (>= 3)
colored (~> 1.2)
xcpretty (0.1.7)

PLATFORMS
Expand All @@ -10,4 +34,5 @@ PLATFORMS
DEPENDENCIES
bundler
rake
slather
xcpretty
4 changes: 4 additions & 0 deletions Specta/Specta.xcodeproj/project.pbxproj
Expand Up @@ -1101,6 +1101,8 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand Down Expand Up @@ -1147,6 +1149,8 @@
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand Down

0 comments on commit 9e48664

Please sign in to comment.