Skip to content

Commit

Permalink
Fixed benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
toomore committed Aug 3, 2017
1 parent b97cd5c commit 8c0fa24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ before_script:

script:
- sh ./goclean.sh
- go test -v -bench=Bench -benchmem -run='Bench' ./mails
- go test -v -bench=Bench -benchmem -run='Bench' ./utils
- sh ./build-base.sh
- sh ./build-min.sh
- docker images
Expand Down
1 change: 0 additions & 1 deletion goclean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ echo "mode: count" > coverage.cov
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -not -path './cmd' -not -path './cmd/docs' -not -path './sql' -type d);
do
if ls $dir/*.go &> /dev/null; then
#go test -v --benchmem --bench=. -covermode=count -covercoverage=$dir/coverage.tmp $dir
go test -v -covermode=count -coverprofile=$dir/coverage.tmp $dir
if [ -f $dir/coverage.tmp ]
then
Expand Down

0 comments on commit 8c0fa24

Please sign in to comment.