Skip to content

Commit 690e154

Browse files
authored
Abilitata sezione 'script'
1 parent 2cd940f commit 690e154

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ matrix:
1212
dist: xenial
1313
install:
1414
- go get -v ./...
15-
#script:
16-
# - go get github.com/mattn/goveralls
17-
# - go test -covermode=count -coverprofile=coverage.out.tmp ./...
18-
# - cat coverage.out.tmp | grep -v ".pb.go" > coverage.out
19-
# - rm coverage.out.tmp
20-
# - $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci
21-
# - go mod tidy
22-
# - git diff --exit-code
15+
script:
16+
- go get github.com/mattn/goveralls
17+
- go test -covermode=count -coverprofile=coverage.out.tmp ./...
18+
- cat coverage.out.tmp | grep -v ".pb.go" > coverage.out
19+
- rm coverage.out.tmp
20+
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci
21+
- go mod tidy
22+
- git diff --exit-code
2323
deploy:
2424
- provider: script
2525
script: docker run -e GITHUB_TOKEN=$GITHUB_TOKEN --rm --privileged -v $TRAVIS_BUILD_DIR:/go/src/github.com/mailchain/mailchain -v /var/run/docker.sock:/var/run/docker.sock -w /go/src/github.com/mailchain/mailchain mailchain/goreleaser-xcgo goreleaser --rm-dist

0 commit comments

Comments
 (0)