CircleCI update for MariaDB.

This commit is contained in:
go-jet 2019-08-15 12:28:59 +02:00
parent 0dbdbb9220
commit b656fa2ef1
2 changed files with 63 additions and 2 deletions

View file

@ -12,6 +12,7 @@ import (
"io/ioutil"
"os"
"os/exec"
"strings"
)
var testSuite string
@ -24,12 +25,14 @@ func init() {
func main() {
testSuite = strings.ToLower(testSuite)
if testSuite == "postgres" {
initPostgresDB()
return
}
if testSuite == "mysql" {
if testSuite == "mysql" || testSuite == "mariadb" {
initMySQLDB()
return
}