mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
24 lines
307 B
YAML
24 lines
307 B
YAML
---
|
|
language: go
|
|
go:
|
|
- 1.14
|
|
- 1.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
|
|
- make migrations
|
|
|
|
script:
|
|
- bash scripts/test-sqlite3-migrations.sh
|
|
- go test -v ./pkg/...
|