Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

fix travis coverall integration

Cette révision appartient à :
akuma06 2017-07-29 13:09:10 +02:00
Parent 690ab97420
révision c24e7f031b

Voir le fichier

@ -1,16 +1,18 @@
language: go
go:
- 1.x
- tip
gobuild_args: -x -ldflags "-X main.buildversion=$(git rev-parse HEAD)"
before_install:
- sudo apt-get install gcc-mingw-w64 gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 binutils-mingw-w64-i686
binutils-mingw-w64-x86-64 ansible
- go get -u github.com/tools/godep
- go get github.com/mattn/goveralls
before_script:
- go vet
- go test -v ./...
- go test -v -covermode=count -coverprofile=coverage.out $HOME/gopath/bin/goveralls
-coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
script:
- $HOME/gopath/bin/goveralls -service=travis-ci -repotoken=$COVERALLS_TOKEN
install:
- export GOPATH="${TRAVIS_BUILD_DIR}/vendor:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"