mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
.travis.yml: create bbgo mysql database
This commit is contained in:
parent
6d756d2409
commit
94dc291580
|
@ -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/...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user