Permalink
Browse files

User our MySQL version from Docker on Travis.

Travis only supports MySQL 5.6 out of the box.

Signed-off-by: David Calavera <david.calavera@gmail.com>
  • Loading branch information...
calavera committed Nov 2, 2017
1 parent 5531625 commit cb6d7f0a287850803ba8ec7685b8435998741422
Showing with 5 additions and 2 deletions.
  1. +4 −1 .travis.yml
  2. +1 −1 hack/mysqld.sh
View
@@ -6,7 +6,10 @@ go:
- 1.9
services:
- mysql
- docker
before_install:
- sudo service mysql stop || sudo service mysql-5.6 stop || sudo stop mysql-5.6 || sudo stop mysql || echo "failed to stop mysql"
- hack/mysqld.sh
install: make deps
script: make migrate_test all
View
@@ -8,4 +8,4 @@ docker run --name gotrue_mysql \
-p 3306:3306 \
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes \
--volume mysql_data:/var/lib/mysql \
-d mysql mysqld --bind-address=0.0.0.0
-d mysql:5.7 mysqld --bind-address=0.0.0.0

0 comments on commit cb6d7f0

Please sign in to comment.