Skip to content

Commit 675aa9a

Browse files
authored
Merge pull request #87 from savornicesei/issue-85
#85 Tests fail on Travis CI due to missing Redis class
2 parents 05104b1 + 1b3df4f commit 675aa9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ matrix:
1717
allow_failures:
1818
- php: nightly
1919

20+
before_install:
21+
- sudo apt-get -y install php-redis
22+
- echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
23+
- php -r "if (new Redis() == true){ echo \"OK \r\n\"; }"
24+
2025
before_script:
2126
- travis_wait composer self-update
2227
- travis_wait composer install --prefer-source --no-interaction

0 commit comments

Comments
 (0)