travis updates

This commit is contained in:
john
2019-11-20 12:27:23 +08:00
parent ad540f7c25
commit 61282d6dab

View File

@ -32,7 +32,8 @@ install:
before_script:
- find . -name "*.go" | xargs gofmt -w
- git diff --name-only --exit-code || exit 1
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('12345678') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- echo "USE mysql;\nselect * from `user`;\n" | mysql -u root
- echo "USE mysql;\nUPDATE `user` SET `password`=PASSWORD('12345678') WHERE `user`='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- psql -c 'create database travis_ci_test;' -U postgres
script: