From dd0a32f67f5f70f0af33ac69261f33bafa72bd73 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 31 Jan 2013 18:36:20 +0800 Subject: [PATCH 1/4] add travis-ci test script --- .travis.yml | 12 ++++++++++++ testscript/test.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..323b3c7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: go +install: + - mkdir -p $GOPATH/src/github.com/shadowsocks/shadowsocks-go/shadowsocks + - mv * $GOPATH/src/github.com/shadowsocks/shadowsocks-go + - pushd $GOPATH/src/github.com/shadowsocks/shadowsocks-go + - go install ./cmd/shadowsocks-local + - go install ./cmd/shadowsocks-server + - popd +script: + - pushd $GOPATH/src/github.com/shadowsocks/shadowsocks-go + - PATH=$PATH:$GOPATH/bin/ bash -x ./testscript/test.sh + - popd diff --git a/testscript/test.sh b/testscript/test.sh index f791b2f..8d1b553 100755 --- a/testscript/test.sh +++ b/testscript/test.sh @@ -39,7 +39,7 @@ test_get() { sleep 0.5 } -test_get localhost:4000 +#test_get localhost:4000 test_get baidu.com test_get baidu.com rc4 From d70a23fc1ec782395f74f9309ab93038c70df5ca Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 31 Jan 2013 18:47:45 +0800 Subject: [PATCH 2/4] add Travis CI icon --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94d87bb..7f3bdd0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shadowsocks-go -Current version: 0.6 +Current version: 0.6 [![Build Status](https://travis-ci.org/shadowsocks/shadowsocks-go.png)](https://travis-ci.org/shadowsocks/shadowsocks-go) shadowsocks-go is a lightweight tunnel proxy which can help you get through firewalls. It is a port of [shadowsocks](https://github.com/clowwindy/shadowsocks). From e3148c0598f3bff292a84e09444b514c6cd98002 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 1 Feb 2013 02:29:00 +0800 Subject: [PATCH 3/4] recommit --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 323b3c7..3e01f13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,4 @@ script: - pushd $GOPATH/src/github.com/shadowsocks/shadowsocks-go - PATH=$PATH:$GOPATH/bin/ bash -x ./testscript/test.sh - popd + From e8b342598ea9e04f038d647d3865f7a7b116cf6a Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 1 Feb 2013 02:36:32 +0800 Subject: [PATCH 4/4] remote localhost:4000 --- testscript/test.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/testscript/test.sh b/testscript/test.sh index 8d1b553..8263a1c 100755 --- a/testscript/test.sh +++ b/testscript/test.sh @@ -39,7 +39,6 @@ test_get() { sleep 0.5 } -#test_get localhost:4000 test_get baidu.com test_get baidu.com rc4