Skip to content

Commit

Permalink
Squashed 'src/task/' changes from e9d76eb8..548e9972
Browse files Browse the repository at this point in the history
548e9972 Upstream travis ci config (#160)
32c35b45 修复Json Validator会失效的BUG (#153)

git-subtree-dir: src/task
git-subtree-split: 548e9972be65dfed59a03fdb4d440926d6428980
  • Loading branch information
huangzhhui committed Aug 31, 2018
1 parent 5d2c492 commit 2f06f8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ language: php
php:
- 7.0
- 7.1
- 7.2

install:
- wget https://github.com/swoole/swoole-src/archive/v2.1.1.tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && cd swoole && phpize
- ./configure --enable-coroutine && 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:
- phpenv config-rm xdebug.ini
- composer update

script: composer test
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"repositories": [
{
"type": "composer",
"url": "https://packagist.phpcomposer.com"
"url": "https://packagist.laravel-china.org"
}
],
"scripts": {
Expand Down

0 comments on commit 2f06f8f

Please sign in to comment.