File tree Expand file tree Collapse file tree 4 files changed +5
-17
lines changed Expand file tree Collapse file tree 4 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 1- sudo : required
21language : php
2+ os : linux
33
4- matrix :
4+ jobs :
55 include :
66 - php : ' 7.2'
77 env : SWOOLE_VERSION="v4.5.2"
@@ -28,7 +28,7 @@ matrix:
2828 - php : nightly
2929
3030services :
31- - redis-server
31+ - redis
3232
3333addons :
3434 apt :
@@ -46,22 +46,15 @@ install:
4646 cd ../;
4747 fi
4848 - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
49- - wget https://github.com/swoole/swoole-src/archive/$SWOOLE_VERSION.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 --enable-openssl --enable-http2 && make -j && make install && cd -
50- - echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
49+ - wget https://github.com/swoole/swoole-src/archive/$SWOOLE_VERSION.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 --enable-openssl --enable-http2 && make -j && make install && cd - && echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
5150
5251before_script :
5352 - if [[ $DISABLE_XDEBUG != false ]]; then
5453 phpenv config-rm xdebug.ini;
5554 fi
56- - curl -sSfL -o ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar
57- - export TEST_PHPUNIT_PATH=~/.phpenv/versions/$(phpenv version-name)/bin/phpunit
58- - php ./.travis/composer-no-phpunit.php
5955 - composer update
6056 - php --ri swoole
6157
6258script :
6359 - ./tests/run
64-
65- after_failure :
66- - php ./.travis/output-server-log.php
6760
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 },
99 "require-dev" : {
1010 "yurunsoft/imi" : " dev-dev" ,
11- "phpunit/phpunit" : " ^ 7" ,
11+ "phpunit/phpunit" : " >= 7" ,
1212 "yurunsoft/ide-helper" : " ~1.0"
1313 },
1414 "autoload" : {
Original file line number Diff line number Diff line change 1111 <testsuites >
1212 <testsuite name =" queue" >
1313 <directory >Queue</directory >
14- <file >*.php</file >
1514 </testsuite >
1615 </testsuites >
1716</phpunit >
You can’t perform that action at this time.
0 commit comments