Commit baf4e146 by lanrion

added simplecov

parent 1aded430
......@@ -3,7 +3,6 @@ bundler_args: --without development
rvm:
- 2.0.0
script:
- "bundle exec rake"
- "rspec"
services:
- redis
......
......@@ -4,8 +4,7 @@ group :test do
gem "rspec", "~> 3.0.0.beta1"
gem "redis-namespace", "~> 1.4.1"
gem "codeclimate-test-reporter", require: nil
gem "bundler"
gem "rake"
gem 'simplecov', '~> 0.7.1', :require => false
end
# Specify your gem's dependencies in weixin_authorize.gemspec
......
......@@ -19,10 +19,14 @@ require "multi_json"
require "redis"
require "redis-namespace"
require 'simplecov'
SimpleCov.start
require "codeclimate-test-reporter"
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
CodeClimate::TestReporter.start
ENV["APPID"]="wx986f04063d341d04"
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03"
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