diff options
author | Wolfy-J <[email protected]> | 2018-06-10 14:44:48 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 14:44:48 +0300 |
commit | 067cb1b6f990163ad2804eaa059086c60c5717ee (patch) | |
tree | a7091ae1dac315514943a0f16b908e53e7cdf8ec | |
parent | 025887da77e15cd5e80d4182bf7095dac6cab12c (diff) |
added additional tests to travis
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | _____/verbose.go | 18 |
2 files changed, 3 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index 48f4cb4f..80f9496d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,9 @@ install: script: - go test -race -v -coverprofile=lib.txt -covermode=atomic - go test ./rpc -race -v -coverprofile=rpc.txt -covermode=atomic + - go test ./service -race -v -coverprofile=service.txt -covermode=atomic after_success: - bash <(curl -s https://codecov.io/bash) -f lib.txt - - bash <(curl -s https://codecov.io/bash) -f rpc.txt
\ No newline at end of file + - bash <(curl -s https://codecov.io/bash) -f rpc.txt + - bash <(curl -s https://codecov.io/bash) -f service.txt
\ No newline at end of file diff --git a/_____/verbose.go b/_____/verbose.go deleted file mode 100644 index d0088b69..00000000 --- a/_____/verbose.go +++ /dev/null @@ -1,18 +0,0 @@ -package _____ - -//if f.Verbose { -// rr.Observe(func(event int, ctx interface{}) { -// switch event { -// case roadrunner.EventPoolError: -// logrus.Error(ctx) -// case roadrunner.EventWorkerCreate: -// logrus.Infof("%s - created", ctx) -// case roadrunner.EventWorkerError: -// logrus.Errorf("%s: %s", ctx.(roadrunner.WorkerError).Worker, ctx.(roadrunner.WorkerError).Error()) -// case roadrunner.EventWorkerDestruct: -// logrus.Warnf("%s - destructed", ctx) -// case roadrunner.EventWorkerKill: -// logrus.Warnf("%s - killed", ctx) -// } -// }) -//} |