.travis.yml: create bbgo mysql database

This commit is contained in:
c9s 2021-02-06 09:16:56 +08:00
parent 6d756d2409
commit 94dc291580

View File

@ -8,11 +8,15 @@ services:
- redis-server
- mysql
before_install:
- mysql -e 'CREATE DATABASE bbgo;'
install:
- go get github.com/c9s/rockhopper/cmd/rockhopper
before_script:
- go mod download
script:
- bash scripts/test-sqlite3-migrations.sh
- go test -v ./pkg/...