Commit baf4e146 by lanrion

added simplecov

parent 1aded430
...@@ -3,7 +3,6 @@ bundler_args: --without development ...@@ -3,7 +3,6 @@ bundler_args: --without development
rvm: rvm:
- 2.0.0 - 2.0.0
script: script:
- "bundle exec rake"
- "rspec" - "rspec"
services: services:
- redis - redis
......
...@@ -4,8 +4,7 @@ group :test do ...@@ -4,8 +4,7 @@ group :test do
gem "rspec", "~> 3.0.0.beta1" gem "rspec", "~> 3.0.0.beta1"
gem "redis-namespace", "~> 1.4.1" gem "redis-namespace", "~> 1.4.1"
gem "codeclimate-test-reporter", require: nil gem "codeclimate-test-reporter", require: nil
gem "bundler" gem 'simplecov', '~> 0.7.1', :require => false
gem "rake"
end end
# Specify your gem's dependencies in weixin_authorize.gemspec # Specify your gem's dependencies in weixin_authorize.gemspec
......
...@@ -19,10 +19,14 @@ require "multi_json" ...@@ -19,10 +19,14 @@ require "multi_json"
require "redis" require "redis"
require "redis-namespace" require "redis-namespace"
require 'simplecov'
SimpleCov.start
require "codeclimate-test-reporter" require "codeclimate-test-reporter"
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399" ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
CodeClimate::TestReporter.start CodeClimate::TestReporter.start
ENV["APPID"]="wx986f04063d341d04" ENV["APPID"]="wx986f04063d341d04"
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03" ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03"
ENV["OPENID"]="o9k6BuB0kydAcPTc7sPxppB1GQqA" ENV["OPENID"]="o9k6BuB0kydAcPTc7sPxppB1GQqA"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment