Skip to content

Commit

Permalink
Squashed 'src/auth/' changes from c9bc8780..5aba2468
Browse files Browse the repository at this point in the history
5aba2468 Upstream travis ci config (#160)
48090748 修复Json Validator会失效的BUG (#153)

git-subtree-dir: src/auth
git-subtree-split: 5aba2468da04021789a2355a15d275926021a57b
  • Loading branch information
huangzhhui committed Sep 7, 2018
1 parent 51277ea commit 840c80e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.0
- 7.1
- 7.2

services:
- mysql
Expand All @@ -12,7 +13,9 @@ before_install:

install:
- wget https://github.com/redis/hiredis/archive/v0.13.3.tar.gz -O hiredis.tar.gz && mkdir -p hiredis && tar -xf hiredis.tar.gz -C hiredis --strip-components=1 && cd hiredis && sudo make -j$(nproc) && sudo make install && sudo ldconfig && cd ..
- pecl install -f swoole-2.0.12
- echo 'no' | pecl install -f redis
- 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 --enable-async-redis && make -j$(nproc) && make install && cd -
- echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

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

0 comments on commit 840c80e

Please sign in to comment.