Add tparse to tests (#542)
This commit is contained in:
parent
47d056d627
commit
2328bf1b06
14
.travis.yml
14
.travis.yml
@ -10,10 +10,6 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- /home/travis/cache
|
- /home/travis/cache
|
||||||
|
|
||||||
services:
|
|
||||||
- redis
|
|
||||||
- postgresql
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Add an IPv6 config - see the corresponding Travis issue
|
# Add an IPv6 config - see the corresponding Travis issue
|
||||||
# https://github.com/travis-ci/travis-ci/issues/8361
|
# https://github.com/travis-ci/travis-ci/issues/8361
|
||||||
@ -33,13 +29,17 @@ matrix:
|
|||||||
- env:
|
- env:
|
||||||
- MODE=tests
|
- MODE=tests
|
||||||
- STORJ_POSTGRESKV_TEST=postgres://postgres@localhost/pointerdb?sslmode=disable
|
- STORJ_POSTGRESKV_TEST=postgres://postgres@localhost/pointerdb?sslmode=disable
|
||||||
|
services:
|
||||||
|
- redis
|
||||||
|
- postgresql
|
||||||
install:
|
install:
|
||||||
- pushd ~
|
- pushd ~
|
||||||
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/mattn/goveralls
|
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/mattn/goveralls
|
||||||
|
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/mfridman/tparse
|
||||||
- popd
|
- popd
|
||||||
- go install -race ./...
|
- go install -race ./...
|
||||||
script:
|
script:
|
||||||
- go test -race -cover -coverprofile=.coverprofile ./...
|
- go test -race -cover -coverprofile=.coverprofile -json ./... | tparse -all
|
||||||
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
||||||
|
|
||||||
### run linters ###
|
### run linters ###
|
||||||
@ -52,6 +52,8 @@ matrix:
|
|||||||
|
|
||||||
### captplanet tests ###
|
### captplanet tests ###
|
||||||
- env: MODE=integration
|
- env: MODE=integration
|
||||||
|
services:
|
||||||
|
- redis
|
||||||
install:
|
install:
|
||||||
- source scripts/install-awscli.sh
|
- source scripts/install-awscli.sh
|
||||||
- go install storj.io/storj/cmd/captplanet
|
- go install storj.io/storj/cmd/captplanet
|
||||||
@ -61,6 +63,8 @@ matrix:
|
|||||||
### windows tests ###
|
### windows tests ###
|
||||||
- env: MODE=windows-tests
|
- env: MODE=windows-tests
|
||||||
os: windows
|
os: windows
|
||||||
|
services:
|
||||||
|
- redis
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "%HOME%/cache"
|
- "%HOME%/cache"
|
||||||
|
Loading…
Reference in New Issue
Block a user