From 682f99a76396eecefb809b81291e18d7bbeceab2 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 20 Nov 2019 12:29:34 +0800 Subject: [PATCH] travis updates --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 44e9e9cdb..31f98e18e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: