-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
29 lines (28 loc) · 1.12 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: go
go:
- 1.13.x
services:
- docker
install: true
script:
- 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: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: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)