diff options
| author | Eyal Posener <[email protected]> | 2017-05-06 20:58:01 +0300 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2017-05-06 20:58:01 +0300 |
| commit | 9963a854946be0603f9e79ccba0a8b2688b20053 (patch) | |
| tree | d9f9de0148c079071095e96c1033c39f0c898de1 | |
| parent | f46c5f8a2808c5ade2f0b805a473765960250fe4 (diff) | |
Fix travis, remove go.test.sh
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rwxr-xr-x | go.test.sh | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 965e6ad..7fef76c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ before_install: - go get -u -t ./... script: - - ./go.test.sh + - go test -v -race -coverprofile=coverage.txt -covermode=atomic after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/go.test.sh b/go.test.sh deleted file mode 100755 index 41fdfc8..0000000 --- a/go.test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -e -echo "" > coverage.txt - -for d in $(go list ./... | grep -v vendor); do - go test -count 20 -v -race -coverprofile=profile.out -covermode=atomic $d - if [ -f profile.out ]; then - cat profile.out >> coverage.txt - rm profile.out - fi -done |
