Skip to content

Commit

Permalink
add travis-ci test script
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Jan 31, 2013
1 parent 86e5ba2 commit dd0a32f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion testscript/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd0a32f

Please sign in to comment.