Commit 6abff1ea by lanrion

added coveralls

parent baf4e146
service_name: travis-pro
repo_token: JXKVfXe0OWqWE4wm2Qu0iZpIQxf9gixAo
......@@ -3,8 +3,10 @@ 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
gem 'simplecov', '~> 0.7.1', :require => false
if ENV["CI"]
gem "codeclimate-test-reporter", require: nil
gem 'coveralls', require: false
end
end
# Specify your gem's dependencies in weixin_authorize.gemspec
......
......@@ -19,13 +19,16 @@ require "multi_json"
require "redis"
require "redis-namespace"
require 'simplecov'
SimpleCov.start
require "codeclimate-test-reporter"
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
CodeClimate::TestReporter.start
if ENV["CI"]
require 'coveralls'
Coveralls.wear! do
add_filter "spec"
end
require "codeclimate-test-reporter"
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
CodeClimate::TestReporter.start
end
ENV["APPID"]="wx986f04063d341d04"
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03"
......
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