travis updates

This commit is contained in:
john 2019-11-20 12:29:34 +08:00
parent 61282d6dab
commit 682f99a763

View File

@ -32,8 +32,8 @@ install:
before_script:
- find . -name "*.go" | xargs gofmt -w
- git diff --name-only --exit-code || exit 1
- 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
- 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: