Skip to content

Commit

Permalink
Change to run test on recent versions of Go
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Jan 17, 2021
1 parent 3be1b91 commit 00b7fe7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
- '1.10'
- '1.11'
- '1.12'
- '1.13'
- '1.14'
- '1.15'
- master

sudo: false
Expand All @@ -23,6 +23,5 @@ script:

matrix:
allow_failures:
- go: 1.6
- go: 1.7
- go: '1.10'
- go: master
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ help:

.PHONY: test
test:
go test -v -cover -coverprofile cover.out
go test -race -v -cover -coverprofile cover.out
go tool cover -html=cover.out -o cover.html

.PHONY: lint
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module github.com/mozillazg/go-httpheader

go 1.11

0 comments on commit 00b7fe7

Please sign in to comment.