add sql test
language: go
-sudo: false
+sudo: true
go:
- 1.9
- 1.10.3
script:
- make test
+services:
+- mysql
+- postgresql
+before_install:
+- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
+- sudo service mysql restart
