Permalink
Browse files

Add Coveralls

  • Loading branch information...
1 parent f09bd40 commit a83848da5daea7455cbd9a0e7316c226b74443ae @ruedap committed Aug 25, 2013
Showing with 34 additions and 3 deletions.
  1. +1 −0 .coveralls.yml
  2. +1 −0 .gitignore
  3. +1 −1 .travis.yml
  4. +2 −2 README.md
  5. +1 −0 workflow/Gemfile
  6. +17 −0 workflow/Gemfile.lock
  7. +11 −0 workflow/test/test_helper.rb
View
@@ -0,0 +1 @@
+service_name: travis-ci
View
@@ -3,3 +3,4 @@ workflow/.bundle
workflow/bundle
converter
materials
+/workflow/coverage
View
@@ -1,8 +1,8 @@
language: ruby
rvm:
+ - 2.0.0
- 1.8.7
- 1.9.3
- - 2.0.0
script:
- cd workflow
- bundle install --standalone --clean
View
@@ -1,8 +1,8 @@
# Font Awesome Workflow for Alfred 2
-You can incremental search for [Font Awesome Icon Fonts](http://fontawesome.io/icons/) and paste it to front most app.
+[![Build Status](https://travis-ci.org/ruedap/alfred2-font-awesome-workflow.png?branch=master)](https://travis-ci.org/ruedap/alfred2-font-awesome-workflow) [![Coverage Status](https://coveralls.io/repos/ruedap/alfred2-font-awesome-workflow/badge.png)](https://coveralls.io/r/ruedap/alfred2-font-awesome-workflow)
-[![Build Status](https://travis-ci.org/ruedap/alfred2-font-awesome-workflow.png?branch=master)](https://travis-ci.org/ruedap/alfred2-font-awesome-workflow)
+You can incremental search for [Font Awesome Icon Fonts](http://fontawesome.io/icons/) and paste it to front most app.
![Screencast.gif](http://gifzo.net/ZqCN4wKUcq.gif)
View
@@ -6,4 +6,5 @@ gem 'alfred-workflow', '1.8.0'
group :test do
gem 'minitest', '5.0.6'
gem 'rake', '10.1.0'
+ gem 'coveralls', :require => false
end
View
@@ -3,15 +3,32 @@ GEM
specs:
alfred-workflow (1.8.0)
plist (>= 3.1.0)
+ colorize (0.5.8)
+ coveralls (0.6.7)
+ colorize
+ multi_json (~> 1.3)
+ rest-client
+ simplecov (>= 0.7)
+ thor
+ mime-types (1.24)
minitest (5.0.6)
+ multi_json (1.7.9)
plist (3.1.0)
rake (10.1.0)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
+ simplecov (0.7.1)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.7.1)
+ simplecov-html (0.7.1)
+ thor (0.18.1)
PLATFORMS
ruby
DEPENDENCIES
alfred-workflow (= 1.8.0)
+ coveralls
minitest (= 5.0.6)
plist (= 3.1.0)
rake (= 10.1.0)
@@ -1,3 +1,14 @@
+require 'simplecov'
+require 'coveralls'
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+SimpleCov.start do
+ add_filter '.bundle/'
+end
+
$LOAD_PATH.unshift(File.expand_path(File.dirname('..')))
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8

0 comments on commit a83848d

Please sign in to comment.