Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Give full credit to Cocoanetics for coveralls.rb

  • Loading branch information...
commit 80719569232b57982e59a5beea535ae5cb6a0b07 1 parent d7c0f55
@jonreid jonreid authored
View
2  .travis.yml
@@ -11,4 +11,4 @@ script:
- xctool test -project Source/OCHamcrest.xcodeproj -scheme libochamcrest -sdk iphonesimulator7.1 -destination "platform=iOS Simulator,name=iPhone 5s,OS=7.1"
after_success:
- - ./coveralls.rb --exclude-folder Source/Tests --exclude-folder Examples
+ - ./Cocoanetics-Ruby/coveralls.rb --exclude-folder Source/Tests --exclude-folder Examples
View
18 Cocoanetics-Ruby/.gitignore
@@ -0,0 +1,18 @@
+*.gem
+*.rbc
+.bundle
+.config
+coverage
+InstalledFiles
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
+
+# YARD artifacts
+.yardoc
+_yardoc
+doc/
View
23 Cocoanetics-Ruby/LICENSE
@@ -0,0 +1,23 @@
+Copyright (c) 2013, Oliver Drobnik
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
33 Cocoanetics-Ruby/README.md
@@ -0,0 +1,33 @@
+Cocoanetics Ruby
+================
+
+Collection of my Ruby Scripts
+
+###Coveralls.rb
+
+This script finds all **.gcda** files unterneath the current user's DerivedData folder. Since you get a fresh VM every time Travis-CI builds those should be the ones that you also want to submit.
+
+Submission is done with [cpp_coveralls](https://github.com/eddyxu/cpp-coveralls)
+
+The script has a few options of which -x and -e are passed onto cpp_coveralls. Typically you want to limit processing to **m** extension for Objective-C projects.
+
+ Usage: coveralls.rb [options]
+ -e, --exclude-folder FOLDER Folder to exclude
+ -h, --exclude-headers Ignores headers
+ -x, --extension EXT Source file extension to process
+ -?, --help Show this message
+
+Example `**.travis.yml**`
+
+ ---
+ language: objective-c
+
+ before_script:
+ - sudo easy_install cpp-coveralls
+
+ script:
+ - xctool -project DTFoundation.xcodeproj -scheme "Static Library" build test -sdk iphonesimulator
+
+ after_success:
+ - ./coveralls.rb --extension m --exclude-folder Demo --exclude-folder Test --exclude-folder Externals
+
View
0  coveralls.rb → Cocoanetics-Ruby/coveralls.rb
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.