Skip to content

Commit

Permalink
Send test coverage to code crimate
Browse files Browse the repository at this point in the history
  • Loading branch information
kei-s committed Aug 18, 2014
1 parent 65c20c3 commit 865e6e6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tmp
coverage
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: ruby
rvm:
- 2.1.2
addons:
code_climate:
repo_token: 8941b22cf202d2f9948ecb2160433661c3f81893478bb7feaa8637049fc74179
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ group :test do
gem 'rspec', group: 'production'
gem 'capybara'
gem 'selenium-webdriver'
gem "codeclimate-test-reporter", require: nil
end
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ GEM
xpath (~> 2.0)
childprocess (0.5.3)
ffi (~> 1.0, >= 1.0.11)
codeclimate-test-reporter (0.4.0)
simplecov (>= 0.7.1, < 1.0.0)
creole (0.5.0)
daemons (1.1.9)
diff-lcs (1.2.5)
docile (1.1.5)
eventmachine (1.0.3)
expression_parser (0.9.0)
ffi (1.9.3)
Expand Down Expand Up @@ -57,6 +60,11 @@ GEM
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0.4)
simplecov (0.9.0)
docile (~> 1.1.0)
multi_json
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
Expand All @@ -80,6 +88,7 @@ PLATFORMS
DEPENDENCIES
RedCloth
capybara
codeclimate-test-reporter
creole
github-markup
haml
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'bundler'
Bundler.setup(:test)
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require 'capybara/rspec'
require_relative '../app.rb'

Expand Down

0 comments on commit 865e6e6

Please sign in to comment.