bbgo_origin/.travis.yml

23 lines
289 B
YAML
Raw Normal View History

2020-10-10 04:10:27 +00:00
---
language: go
2020-10-10 04:27:28 +00:00
go:
- 1.14
- 1.15
2021-02-06 01:16:04 +00:00
2020-12-07 14:51:38 +00:00
services:
- redis-server
2021-02-06 01:16:04 +00:00
- mysql
2021-02-05 06:44:29 +00:00
before_install:
- mysql -e 'CREATE DATABASE bbgo;'
2021-02-05 06:44:29 +00:00
install:
- go get github.com/c9s/rockhopper/cmd/rockhopper
2020-10-10 04:10:27 +00:00
before_script:
2020-12-07 14:51:38 +00:00
- go mod download
2020-10-10 04:10:27 +00:00
script:
- bash scripts/test-sqlite3-migrations.sh
2020-12-07 14:51:38 +00:00
- go test -v ./pkg/...