summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-11 21:38:24 +0300
committerWolfy-J <[email protected]>2018-06-11 21:38:24 +0300
commit5b35d066154437d4a26c1bd8b8e3689b72b36acf (patch)
tree309e441a03c3033a2bb30654d783f5f955dbb617
parentd9c1da5b559fe1d761f3f91b18648c0ff6ab3634 (diff)
no library dependency
-rw-r--r--.travis.yml3
-rw-r--r--worker.go1
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index aef1d283..d2d6ac87 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,10 +7,11 @@ go:
before_install:
- go version
- - sudo apt-get purge -y php5
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.0-cli
+ - which php
+ - which php7.0
- php -v
- composer self-update
diff --git a/worker.go b/worker.go
index 30ddc138..df45a1c8 100644
--- a/worker.go
+++ b/worker.go
@@ -237,6 +237,7 @@ func (w *Worker) execPayload(rqs *Payload) (rsp *Payload, err error) {
return nil, JobError(rsp.Context)
}
+ // add streaming support :)
if rsp.Body, pr, err = w.rl.Receive(); err != nil {
return nil, errors.Wrap(err, "worker error")
}