Commit 8aea71f7 by lanrion

Code Climate for Test

parent d19c226f
......@@ -2,6 +2,8 @@ language: ruby
bundler_args: --without development
rvm:
- 2.0.0
env:
- CODECLIMATE_REPO_TOKEN=c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399
script: "rspec"
services:
- redis
......@@ -3,6 +3,7 @@ source 'https://rubygems.org'
group :test do
gem "rspec", "~> 3.0.0.beta1"
gem "redis-namespace", "~> 1.4.1"
gem "codeclimate-test-reporter", require: nil
end
# Specify your gem's dependencies in weixin_authorize.gemspec
......
......@@ -19,6 +19,9 @@ require "multi_json"
require "redis"
require "redis-namespace"
require "codeclimate-test-reporter"
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