Skip to content

Commit

Permalink
Merge pull request #14 from jolestar/ci-debug
Browse files Browse the repository at this point in the history
ci change
  • Loading branch information
jolestar committed Jan 20, 2016
2 parents 922d769 + 410f390 commit 96f4565
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
15 changes: 1 addition & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,8 @@ language: go
sudo: false
go:
- 1.4
- 1.5
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/go-playground/overalls
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover;
fi
install:
- go get github.com/stretchr/testify
script:
#- "$HOME/gopath/bin/goveralls -service=travis-ci"
- go test ./...
- bash coverage
- ${GOPATH%%:*}/bin/goveralls -coverprofile=gover.coverprofile -repotoken $COVERALLS_TOKEN
env:
global:
secure: ls4MmUJQPUA91M7XLk/nAMhxhfg00XKqgnZ4e/UePQqm6W29dxgsrmFx1PPuZd52Q8K04d0LsL3fnU3/X0GBTklcYjcgjBi4z7cOSwirGHC634tfirwbNujWc2rSzvqHeszl+7BuRrTodYhwqPABju5HIv9z+q87IZWvYCsV2OQ8OX/pHYL7H0dwGyma0gwN5KAySfPZ5Zl51eY5BuBsEcHsuxiwMvNRagQIkWvrM2yIO9oLzHEEcrdZGyVSJHKch4t9nnsueU/k0yzgYPPLmjzQaPHlQkOCEMg0g1S5vEGVBmEKNxqccNHk6dzgaEkAfvm8xf+KsZ2IMMJuOsIXkxhOkcbMF4Wqz9UaKYRYZkVNPcL4ZzbCi8nibvXubmGQHw/yTxq+JP2s8Iw89pzKkzkuMV3MBwQ+ZpX55iQGgMLBZbDHB99ZcujyextWgxD7Y6bNrkMgWcnEk4OotP4fXb6+pQbOlKq5xOIiEnPoPwq6kUnAph0sMYmI7mqKaL6Llp6q2RHqhJtoNAreSHg/KcVYoAJaeQtEKx/KeRSH00BLpNdX1JvXW8R2B3uTgUb3yYxvmR4FcTfWmNsEMfhJhQersBEI5bS+iPVcIVOdTKjTBuasrwyr0ikNOvDSgunRBs4cwBVrVCLgZC3n72aPc61X/J/tlQM47QqiasImrdo=
- go test -v -race ./...
10 changes: 10 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
test:
pre:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
override:
- go test -v -race -cover -coverprofile=/home/ubuntu/coverage.out
- bash coverage
post:
- goveralls -coverprofile=/home/ubuntu/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN

0 comments on commit 96f4565

Please sign in to comment.