Skip to content

Commit a4f0817

Browse files
committed
Update the .travis.yml file
Build against the legacy 1.9.7 and 1.13 go versions. 1.9.7 is the oldest go version that supports modules (and the first in 1.9.x release that does it). `go.mod` specifies the latter version.
1 parent cf90570 commit a4f0817

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
language: go
2-
sudo: false
32
go_import_path: gopkg.in/go-oauth2/redis.v3
4-
go:
5-
- 1.9
3+
matrix:
4+
include:
5+
- go: "1.9.7"
6+
- go: 1.13.x
7+
env: GO111MODULE=on
68
services:
7-
- redis-server
9+
- redis
810
before_install:
911
- go get -t -v ./...
1012

1113
script:
1214
- go test -race -coverprofile=coverage.txt -covermode=atomic
1315

1416
after_success:
15-
- bash <(curl -s https://codecov.io/bash)
17+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)