Upgrading Travis distro and MySQL

This commit is contained in:
Petri Tuomola
2020-05-09 13:38:18 +02:00
committed by Michael Vorburger ⛑️
parent e122f1ffd3
commit f3b3ebc58c
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -17,7 +17,7 @@
#
# https://issues.apache.org/jira/browse/FINERACT-763
dist: trusty
dist: bionic
language: java
@@ -35,7 +35,7 @@ addons:
- httpie
before_install:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('mysql') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- echo "USE mysql;\nALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql';\n" | mysql -u root
- mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `fineract_tenants`;'
- mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `fineract_default`;'
# Hardcoding the time zone is a temporary fix for https://issues.apache.org/jira/browse/FINERACT-723