.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 - redis-server
- mysql - mysql
before_install:
- mysql -e 'CREATE DATABASE bbgo;'
install: install:
- go get github.com/c9s/rockhopper/cmd/rockhopper - go get github.com/c9s/rockhopper/cmd/rockhopper
before_script: before_script:
- go mod download - go mod download
script: script:
- bash scripts/test-sqlite3-migrations.sh - bash scripts/test-sqlite3-migrations.sh
- go test -v ./pkg/... - go test -v ./pkg/...