Skip to content

Commit 32f30c7

Browse files
committed
Bugfix
1 parent 17a8a0b commit 32f30c7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cache:
2020
before_install:
2121
- phpenv config-rm xdebug.ini
2222
- bash ci/install.sh
23-
- php -r "echo SWOOLE_VERSION;"
23+
- echo $(php -r "echo SWOOLE_VERSION;")
2424

2525
install:
2626
- composer install

ci/install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ main() {
4040
echo "extension = yac.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
4141
echo "yac.enable = On" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
4242
echo "yac.enable_cli = On" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
43+
else
44+
echo "Skip install Yac\n"
4345
fi
4446

4547
cd $TRAVIS_BUILD_DIR

src/Cache/Adapter/File.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Yesf\Cache\Adapter;
1313

1414
use Psr\SimpleCache\CacheInterface;
15+
use Yesf\Yesf;
1516
use Swoole\Coroutine as co;
1617

1718
class File implements CacheInterface {

0 commit comments

Comments
 (0)