mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 09:15:15 +00:00
26 lines
386 B
YAML
26 lines
386 B
YAML
---
|
|
language: go
|
|
go:
|
|
- 1.14
|
|
- 1.15
|
|
|
|
services:
|
|
- redis-server
|
|
- mysql
|
|
|
|
before_install:
|
|
- mysql -e 'CREATE DATABASE bbgo;'
|
|
- mysql -e 'CREATE DATABASE bbgo_dev;'
|
|
|
|
install:
|
|
- go get github.com/c9s/rockhopper/cmd/rockhopper
|
|
|
|
before_script:
|
|
- go mod download
|
|
- make migrations
|
|
|
|
script:
|
|
- bash scripts/test-sqlite3-migrations.sh
|
|
- bash scripts/test-mysql-migrations.sh
|
|
- go test -v ./pkg/...
|