Commit 5c053058 by lanrion

added travis CI test

parent e9690bc3
language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
script: "rspec"
services:
- redis
# WeixinAuthorize
[![Gem Version](https://badge.fury.io/rb/weixin_authorize.png)](http://badge.fury.io/rb/weixin_authorize)
[![Build Status](https://secure.travis-ci.org/lanrion/my_mongoid.png?branch=master)](http://travis-ci.org/lanrion/my_mongoid)
Support using [Redis](http://redis.io) to store `access_token`
......
......@@ -19,6 +19,10 @@ require "multi_json"
require "redis"
require "redis-namespace"
ENV["APPID"]="wx986f04063d341d04"
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03"
ENV["OPENID"]="o9k6BuB0kydAcPTc7sPxppB1GQqA"
redis = Redis.new(:host => "127.0.0.1",:port => "6379")
namespace = "weixin_test:weixin_authorize"
......
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