summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
}