diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e8f6ffd..e528f1d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -35,6 +35,9 @@ jobs: - name: Start Redis service. run: sudo service redis-server start + + - name: Start MongoDB service + run: sudo service mongodb start - name: Setup PHP with Xdebug uses: shivammathur/setup-php@v2 diff --git a/.travis.yml b/.travis.yml index 1074418..7fee821 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ before_script: - echo yes | pecl install -f apcu - echo yes | pecl install -f apcu_bc - echo yes | pecl install -f memcache - - echo yes | pecl install -f + - echo yes | pecl install -f mongodb-1.7.5 - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini # Print php.ini for debugging purpose.