diff --git a/src/rpc/.travis.yml b/src/rpc/.travis.yml index 7c8891bc1..cb01e888e 100644 --- a/src/rpc/.travis.yml +++ b/src/rpc/.travis.yml @@ -3,18 +3,11 @@ language: php php: - 7.0 - 7.1 + - 7.2 install: - - wget https://github.com/swoole/swoole-src/archive/v4.0.2.tar.gz -O swoole.tar.gz - - mkdir -p swoole - - tar -xf swoole.tar.gz -C swoole --strip-components=1 - - rm swoole.tar.gz - - cd swoole - - phpize - - ./configure - - make -j$(nproc) - - make install - - cd - + - wget https://github.com/swoole/swoole-src/archive/v4.0.2.tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd - + - echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini before_script: - composer update