-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc709a6
commit 9fb0caf
Showing
3 changed files
with
257 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
language: go | ||
|
||
go: | ||
- 1.11.x | ||
- 1.12.x | ||
- 1.13.x | ||
services: | ||
- docker | ||
install: true | ||
script: | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb:1.4.2-pg11 | ||
- docker run -d --name influx1_0 -p 8086:8086 influxdb:1.0 | ||
- GO111MODULE=on go test -race -tags=integration ./... | ||
- go clean -testcache | ||
- docker stop influx1_0 && docker rm influx1_0 | ||
- docker stop ts1 && docker rm ts1 | ||
- echo '- - - - -' | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb:1.4.2-pg11 | ||
- docker run -d --name influx1_6 -p 8086:8086 influxdb:1.6 | ||
- GO111MODULE=on go test -race -tags=integration ./... | ||
- go clean -testcache | ||
- docker stop influx1_6 && docker rm influx1_6 | ||
- docker stop ts1 && docker rm ts1 | ||
- echo '- - - - -' | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb | ||
- docker run -d --name influx_l -p 8086:8086 influxdb | ||
- GO111MODULE=on go test -race -tags=integration -coverprofile=coverage.txt -covermode=atomic ./... | ||
- docker run -d --name ts1 -p 5433:5432 -e POSTGRES_PASSWORD=postgres timescale/timescaledb:1.4.2-pg11 | ||
- docker run -d --name influx1_8 -p 8086:8086 influxdb:1.8 | ||
- GO111MODULE=on go test -race -tags=integration ./... | ||
- docker stop influx1_8 && docker rm influx1_8 | ||
- docker stop ts1 && docker rm ts1 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.