Skip to content

Commit

Permalink
Use google as test target on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Jul 10, 2013
1 parent f283213 commit 1caf18e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ test_server_local_pair() {
echo "============================================================"
echo "server: $SERVER, local: $LOCAL"
echo "============================================================"

local url
if [[ -z "$TRAVIS" ]]; then
url="www.baidu.com"
else
# on travis
url="www.google.com"
fi
test_shadowsocks baidu.com table
test_shadowsocks baidu.com rc4
test_shadowsocks baidu.com aes-128-cfb
Expand Down

0 comments on commit 1caf18e

Please sign in to comment.