diff options
author | Wolfy-J <[email protected]> | 2018-06-11 21:38:24 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 21:38:24 +0300 |
commit | 5b35d066154437d4a26c1bd8b8e3689b72b36acf (patch) | |
tree | 309e441a03c3033a2bb30654d783f5f955dbb617 | |
parent | d9c1da5b559fe1d761f3f91b18648c0ff6ab3634 (diff) |
no library dependency
-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") } |