Update CircleCI config to test 1.9, 1.10, 1.11beta2.

This commit is contained in:
David Anderson 2018-07-27 09:43:56 -07:00
parent d536e23ec2
commit 44f388b48b
2 changed files with 18 additions and 4 deletions

View File

@ -12,10 +12,20 @@ jobs:
- run: make build
- run: make test
- run: make lint
test-1.10beta2:
test-1.10:
working_directory: /go/src/go.universe.tf/netboot
docker:
- image: circleci/golang:1.10beta2
- image: circleci/golang:1.10
steps:
- checkout
- run: make ci-prepare
- run: make build
- run: make test
- run: make lint
test-1.11beta2:
working_directory: /go/src/go.universe.tf/netboot
docker:
- image: circleci/golang:1.11beta2
steps:
- checkout
- run: make ci-prepare
@ -41,7 +51,11 @@ workflows:
filters:
tags:
only: /.*/
- test-1.10beta2:
- test-1.10:
filters:
tags:
only: /.*/
- test-1.11beta2:
filters:
tags:
only: /.*/

View File

@ -10,7 +10,7 @@ import (
func main() {
tmpl := template.Must(template.ParseFiles("config.yml.tmpl"))
v := map[string][]string{
"GoVersions": []string{"1.9", "1.10beta2"},
"GoVersions": []string{"1.9", "1.10", "1.11beta2"},
"Arch": []string{"amd64", "arm", "arm64", "ppc64le", "s390x"},
}
if err := tmpl.Execute(os.Stdout, v); err != nil {