From bb12e0b08952075e05ee04242c4ecd4b2db970ac Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 13 Dec 2016 14:38:01 +0800 Subject: [PATCH] add mysql tests on circleci --- circle.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 1b543e57..a21403b6 100644 --- a/circle.yml +++ b/circle.yml @@ -7,11 +7,14 @@ dependencies: database: override: - #- echo "CREATE DATABASE xorm_test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" | mysql -u root -p + - echo "CREATE DATABASE xorm_test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" | mysql -u root -p + - echo "CREATE DATABASE xorm_test1 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" | mysql -u root -p + - echo "CREATE DATABASE xorm_test2 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" | mysql -u root -p + - echo "CREATE DATABASE xorm_test3 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci" | mysql -u root -p test: override: # './...' is a relative pattern which means all subdirectories - go test -v -race - cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./sqlite3.sh - #- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./mysql.sh \ No newline at end of file + - cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./mysql.sh \ No newline at end of file