25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Travis CI: Ensure MySQL is started

It seems MySQL isn't always fully started before 'mysql_upgrade' is
called.
This commit is contained in:
Holger Weiss 2019-06-14 13:08:46 +02:00
parent 9e158a3835
commit 6fb8ae4d2f

View File

@ -21,6 +21,7 @@ before_install:
- sudo add-apt-repository 'deb http://repo.mysql.com/apt/ubuntu/ precise mysql-5.6' - sudo add-apt-repository 'deb http://repo.mysql.com/apt/ubuntu/ precise mysql-5.6'
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get -qq -o Dpkg::Options::=--force-confold install mysql-server - sudo apt-get -qq -o Dpkg::Options::=--force-confold install mysql-server
- sudo service mysql start
- sudo mysql_upgrade - sudo mysql_upgrade
# /END MYSQL 5.6 # /END MYSQL 5.6
- pip install --user coveralls-merge - pip install --user coveralls-merge