Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
ci: upgrade swoole to v4.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
k911 committed Dec 9, 2020
1 parent 243386b commit f9e500a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,12 @@ cache:
env:
global:
- COMPOSER_ARGS=install
- SWOOLE_VERSION=4.5.8
- SWOOLE_VERSION=4.5.9

matrix:
include:
- php: "7.3"
env:
- "COMPOSER_ARGS='update --prefer-lowest'"
- php: "7.3"
- php: "7.3"
env:
- SWOOLE_LATEST=1
- COMPOSER_ARGS='install --ignore-platform-reqs'
- php: "7.3"
env:
- COMPOSER_ARGS=update
- php: "7.4"
- php: "7.4"
env:
- SWOOLE_LATEST=1
- php: "7.4"
env:
- SWOOLE_LATEST=1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN pecl install xdebug && \

FROM ext-builder as ext-swoole
RUN apk add --no-cache git
ARG SWOOLE_VERSION="4.5.8"
ARG SWOOLE_VERSION="4.5.9"
RUN if $(echo "$SWOOLE_VERSION" | grep -qE '^[4-9]\.[0-9]+\.[0-9]+$'); then SWOOLE_GIT_REF="v$SWOOLE_VERSION"; else SWOOLE_GIT_REF="$SWOOLE_VERSION"; fi && \
git clone https://github.com/swoole/swoole-src.git --branch "$SWOOLE_GIT_REF" --depth 1 && \
cd swoole-src && \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ x-env-aliases:
PHP_TAG: "${PHP_VERSION:-7.4}-cli-alpine${ALPINE_VERSION:-3.12}"
PHP_API_VERSION: "${PHP_API_VERSION:-20190902}"
COMPOSER_ARGS: "${COMPOSER_ARGS:-install}"
SWOOLE_VERSION: "${SWOOLE_VERSION:-4.5.8}"
SWOOLE_VERSION: "${SWOOLE_VERSION:-4.5.9}"
COMPOSER_TAG: "${COMPOSER_TAG:-2.0.7}"

volumes:
Expand Down

0 comments on commit f9e500a

Please sign in to comment.