Skip to content
Permalink
Browse files

Install mondodb support on Travis [skip appveyor]

  • Loading branch information...
sergeyklay committed Jul 7, 2019
1 parent fa4fdc8 commit 7e794afc994ed976c5a8384dd481e10543bb859e
Showing with 5 additions and 3 deletions.
  1. +1 −0 .ci/install-php-extensions.sh
  2. +3 −0 .ci/travis.ini
  3. +1 −3 .travis.yml
@@ -43,6 +43,7 @@ printf "\n" | pecl install --force igbinary 1> /dev/null
printf "\n" | pecl install --force imagick 1> /dev/null
printf "\n" | pecl install --force psr 1> /dev/null
printf "\n" | pecl install --force yaml 1> /dev/null
printf "\n" | pecl install --force mongodb 1> /dev/null

# Install redis
redis_ext=`$(phpenv which php-config) --extension-dir`/redis.so
@@ -0,0 +1,3 @@
variables_order = EGPCS
session.save_path = "/tmp"
opcache.enable_cli = 1
@@ -74,9 +74,7 @@ install:
before_script:
- |
# Setting up Travis' PHP
echo 'variables_order = EGPCS' >> $(phpenv root)/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo 'session.save_path = "/tmp"' >> $(phpenv root)/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo 'opcache.enable_cli = 1' >> $(phpenv root)/versions/$(phpenv version-name)/etc/conf.d/travis.ini
cat .ci/travis.ini >> $(phpenv root)/versions/$(phpenv version-name)/etc/conf.d/travis.ini
if [ "$(php-config --vernum)" -ge "70400" ]; then
export REPORT_COVERAGE=0
fi

0 comments on commit 7e794af

Please sign in to comment.
You can’t perform that action at this time.