next try to fix travsi mysql

Signed-off-by: André Bauer <monotek23@gmail.com>
This commit is contained in:
André Bauer 2019-02-01 21:10:07 +01:00
parent 7c6b7d1ec5
commit 82c080263f

View file

@ -6,7 +6,6 @@ notifications:
env: env:
- DB=mysql - DB=mysql
- DB=postgresql - DB=postgresql
- DEBIAN_FRONTEND=noninteractive
addons: addons:
postgresql: "9.4" postgresql: "9.4"
apt: apt:
@ -46,6 +45,7 @@ language: ruby
rvm: rvm:
- 2.4.4 - 2.4.4
before_install: before_install:
- export DEBIAN_FRONTEND=noninteractive
- gem update --system # Due to: https://github.com/travis-ci/travis-ci/issues/8978 - gem update --system # Due to: https://github.com/travis-ci/travis-ci/issues/8978
- git fetch --unshallow - git fetch --unshallow
- if [ "${DB}" = "mysql" ]; then mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"; fi - if [ "${DB}" = "mysql" ]; then mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"; fi