|
@@ -58,7 +58,9 @@ script:
|
|
|
- set -e
|
|
|
- go vet -tags tensorflow ./...
|
|
|
- golint -set_exit_status ./...
|
|
|
- - goverage -tags tensorflow -v -cpu=1,2 -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v4/...
|
|
|
+ - printf '#!/bin/sh\nshift\ngo test -tags tensorflow $@\n' > gotag
|
|
|
+ - chmod +x gotag
|
|
|
+ - goverage -go-binary=$(pwd)/gotag -v -cpu=1,2 -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v4/...
|
|
|
- $GOPATH/bin/hercules version
|
|
|
- $GOPATH/bin/hercules --burndown --couples --quiet --pb https://github.com/src-d/hercules > 1.pb
|
|
|
- cp 1.pb 2.pb
|