Skip to content

Commit

Permalink
Run tests on travis-ci by downloading zookeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Oct 29, 2013
1 parent 0616a49 commit 4b6b37b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ branches:
only:
- master

before_install:
- wget http://mirrors.sonic.net/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz
- tar -zxvf zookeeper*tar.gz

script:
- go build ./...
- go fmt ./...
- go get code.google.com/p/go.tools/cmd/vet
- go vet ./...
# - go test -i -race ./...
# - go test -v -race ./...
- go test -i -race ./...
- go test -v -race ./...
1 change: 0 additions & 1 deletion zk/zk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func startTestCluster(size int) (*testCluster, error) {
return nil, err
}

// TODO: write myid
fi, err = os.Create(filepath.Join(srvPath, "myid"))
if err != nil {
return nil, err
Expand Down

0 comments on commit 4b6b37b

Please sign in to comment.