Simplify exporting the GOPATH
This commit is contained in:
parent
55a57cc61e
commit
fb06930a59
1 changed files with 6 additions and 4 deletions
10
.travis.yml
10
.travis.yml
|
@ -16,10 +16,12 @@ install:
|
||||||
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
|
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- GOPATH=$GOPATH:$(pwd) go test -v ./...
|
- export GOPATH="$GOPATH:$(pwd)"
|
||||||
|
- go test -v ./...
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- GOPATH=$GOPATH:$(pwd) go test -cover -coverprofile activitypub.coverprofile activitypub
|
- export GOPATH="$GOPATH:$(pwd)"
|
||||||
- GOPATH=$GOPATH:$(pwd) go test -cover -coverprofile jsonld.coverprofile jsonld
|
- go test -cover -coverprofile activitypub.coverprofile activitypub
|
||||||
- GOPATH=$GOPATH:$(pwd) $GOPATH/bin/gover
|
- go test -cover -coverprofile jsonld.coverprofile jsonld
|
||||||
|
- gover
|
||||||
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile
|
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile
|
||||||
|
|
Reference in a new issue