Skip to content

Commit

Permalink
Fix newlines in travis test script
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Jul 23, 2017
1 parent ab91abc commit ee4b69a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,7 @@ export PKGS_DELIM=$(echo "$PKGS" | paste -sd "," -)
#
# Exit code 123 will be returned if any of the tests fail.
rm -f /tmp/out.txt
go list -f 'go test \
-v \
-tags=integration \
-race \
-covermode count \
-coverprofile {{.Name}}.coverprofile \
-coverpkg $PKGS_DELIM \
{{.ImportPath}}' $PKGS | xargs -I{} bash -c "{} >> $OUTFILE"
go list -f 'go test -v -tags=integration -race -covermode count -coverprofile {{.Name}}.coverprofile -coverpkg $PKGS_DELIM {{.ImportPath}}' $PKGS | xargs -I{} bash -c "{} >> $OUTFILE"

# Merge coverage profiles.
COVERAGE_FILES=`ls -1 *.coverprofile 2>/dev/null | wc -l`
Expand Down

0 comments on commit ee4b69a

Please sign in to comment.