trying to fix Travis builds (using default mysql service instead of failing MariaDB:10.0 addon)

This commit is contained in:
Ralf Becker 2020-02-03 18:05:59 +01:00
parent 4d86731220
commit 47c5a25841

View File

@ -1,9 +1,8 @@
language: php language: php
php: php:
- 7.0
- 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4
# none of our dependencies allow 8.0 # none of our dependencies allow 8.0
# - master # - master
@ -14,11 +13,11 @@ matrix:
services: services:
- memcached - memcached
# - mysql we use mariadb instead installed via addons below - mysql #we use mariadb instead installed via addons below
- postgres # - postgres
addons: #addons:
mariadb: '10.0' # mariadb: '10.0'
sudo: required sudo: required
@ -38,7 +37,7 @@ before_script:
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
phpenv config-rm xdebug.ini; phpenv config-rm xdebug.ini;
;; ;;
"7.3"|"master") "7.3"|"7.4"|"master")
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
;; ;;
esac esac
@ -53,7 +52,7 @@ before_script:
composer require --ignore-platform-reqs 'phpunit/phpunit:~7'; composer require --ignore-platform-reqs 'phpunit/phpunit:~7';
;; ;;
esac esac
#- php -m - php -m
- php -i - php -i
- php install-cli.php --ignore-platform-reqs - php install-cli.php --ignore-platform-reqs
# create data directory # create data directory