Skip to content

Commit

Permalink
Simplify travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Feb 28, 2013
1 parent d87987d commit 029685b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
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
- go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-server
- go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-local
script:
- pushd $GOPATH/src/github.com/shadowsocks/shadowsocks-go
- PATH=$PATH:$GOPATH/bin/ bash -x ./testscript/test.sh
- pushd shadowsocks
- go test -v
- popd

- PATH=$PATH:$GOPATH/bin/ bash -x ./testscript/test.sh

0 comments on commit 029685b

Please sign in to comment.