summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-01-11 00:42:49 -0700
committermo khan <mo@mokhan.ca>2015-01-11 00:43:51 -0700
commit0f076d97c7d083fc03bf2e20d3131410cf736b99 (patch)
tree7075b122deba35b99c74a908b1a351feb90e639a
parentd569fbe03f0431da241c3765ce383bc2bde74b95 (diff)
use codeclimate instead of simplecov.
-rw-r--r--.travis.yml3
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--README.md1
-rw-r--r--spec/spec_helper.rb2
5 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 240fac83..dc879979 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,9 @@ rvm:
cache: bundler
addons:
postgresql: '9.3'
+ codeclimate:
+ repo_token:
+ secure: "KsLxeZiHnIpMhHvIvDEjKjiTTXwRa40qg+4boACuz+9nP861pACOfNVHSSSXx0GiZPg9c+WrENYeQj2yHq7jxSQT7LbG1jD8HCC+wYpvrIAYw4GLwAIuPtXqvSQlvNxJtKFgIBXqrU/LKqCdBXN2kde9mkLiKCDrNr1KmMOqGLY="
sudo: false
before_script:
- cp config/database.yml.travis config/database.yml
diff --git a/Gemfile b/Gemfile
index 3942f47a..71f0068d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -60,7 +60,7 @@ group :development, :test do
gem 'teaspoon'
gem 'database_cleaner'
gem 'factory_girl_rails'
- gem 'simplecov'
+ gem "codeclimate-test-reporter", require: nil
gem 'ffaker'
gem 'poltergeist'
gem 'phantomjs', :require => 'phantomjs/poltergeist'
diff --git a/Gemfile.lock b/Gemfile.lock
index 5ceb9d5d..daf90ea5 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -97,6 +97,8 @@ GEM
xpath (~> 2.0)
chartkick (1.3.2)
cliver (0.3.2)
+ codeclimate-test-reporter (0.4.5)
+ simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
@@ -443,6 +445,7 @@ DEPENDENCIES
capistrano-rails
capistrano-rbenv (~> 2.0)
chartkick
+ codeclimate-test-reporter
coffee-rails (~> 4.1.0)
curb
daemons
@@ -482,7 +485,6 @@ DEPENDENCIES
rspec-rails
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
- simplecov
spank
spring
sqlite3
diff --git a/README.md b/README.md
index 5988e371..c9d2f002 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/mokhan/cakeside.svg?branch=master)](https://travis-ci.org/mokhan/cakeside)
[![Code Climate](https://codeclimate.com/github/mokhan/cakeside/badges/gpa.svg)](https://codeclimate.com/github/mokhan/cakeside)
+[![Test Coverage](https://codeclimate.com/github/mokhan/cakeside/badges/coverage.svg)](https://codeclimate.com/github/mokhan/cakeside)
## Environment Setup
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d301c8b4..a15027ac 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,3 +1,5 @@
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this