From 25417b80570056ef0f09a78081e5da68e6aaea5a Mon Sep 17 00:00:00 2001 From: Quentin Brosse Date: Wed, 11 Sep 2019 11:15:04 +0200 Subject: [PATCH] test: add circle CI jobs for Go 1.11 and 1.13 --- .circleci/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a7fe48110..ea73f7539 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,15 @@ # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: + test-go-1-13: + docker: + - image: circleci/golang:1.13 + steps: + - checkout + - run: go mod download + - run: + name: Run unit tests + command: go test -v ./... test-go-1-12: docker: - image: circleci/golang:1.12 @@ -12,6 +21,15 @@ jobs: - run: name: Run unit tests command: go test -v ./... + test-go-1-11: + docker: + - image: circleci/golang:1.11 + steps: + - checkout + - run: go mod download + - run: + name: Run unit tests + command: go test -v ./... test-go-1-10: docker: - image: circleci/golang:1.10 @@ -26,5 +44,7 @@ workflows: version: 2 test: jobs: + - test-go-1-13 - test-go-1-12 + - test-go-1-11 - test-go-1-10