diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | worker.go | 1 |
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 @@ -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") } |