From 387f1b6192d566f997f513d7c46d80ecd2eb8250 Mon Sep 17 00:00:00 2001 From: liangliangyy Date: Sat, 11 Mar 2017 16:17:07 +0800 Subject: [PATCH] Travis settings --- test/travis_settings.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/test/travis_settings.py b/test/travis_settings.py index 1a20697..ed4c831 100644 --- a/test/travis_settings.py +++ b/test/travis_settings.py @@ -199,12 +199,17 @@ OAHUTH = { 'sina': { 'appkey': '3161614143', 'appsecret': 'ee17c099317f872eeddb25204ea46721', - 'callbackurl': 'http://www.lylinux.net/oauth/weibo' + 'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=weibo' }, 'google': { - 'appkey': os.environ.get('GOOGLE_APP_KEY'), - 'appsecret': os.environ.get('GOOGLE_APP_SECRET'), - 'callbackurl': 'http://www.lylinux.net/oauth/googleauthorize' + 'appkey': 'googleappkey', + 'appsecret': 'googleappsecret', + 'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=google' + }, + 'github': { + 'appkey': 'githubappkey', + 'appsecret': 'githubappsecret', + 'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=github' } }