diff options
| author | mo khan <mo@mokhan.ca> | 2015-01-11 00:42:49 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-01-11 00:43:51 -0700 |
| commit | 0f076d97c7d083fc03bf2e20d3131410cf736b99 (patch) | |
| tree | 7075b122deba35b99c74a908b1a351feb90e639a | |
| parent | d569fbe03f0431da241c3765ce383bc2bde74b95 (diff) | |
use codeclimate instead of simplecov.
| -rw-r--r-- | .travis.yml | 3 | ||||
| -rw-r--r-- | Gemfile | 2 | ||||
| -rw-r--r-- | Gemfile.lock | 4 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 2 |
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 @@ -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 @@ -1,5 +1,6 @@ [](https://travis-ci.org/mokhan/cakeside)
[](https://codeclimate.com/github/mokhan/cakeside)
+[](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 |
