Skip to content

Commit

Permalink
fix travis error on build package
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 26, 2019
1 parent 6257cc7 commit d1503b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -5,6 +5,11 @@ php:
- 7.2
- 7.3

install:
- echo 'no' | pecl install -f redis
- wget https://github.com/swoole/swoole-src/archive/v4.3.4.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 config -g process-timeout 900 && composer update
- phpenv config-rm xdebug.ini
Expand Down

0 comments on commit d1503b2

Please sign in to comment.