Skip to content

Commit

Permalink
Merge pull request #207 from dnephin/go1.15
Browse files Browse the repository at this point in the history
ci: Add go1.15, remove older versions
  • Loading branch information
dnephin authored Aug 13, 2020
2 parents 571c97b + 57403db commit 96aacb9
Showing 1 changed file with 6 additions and 42 deletions.
48 changes: 6 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ workflows:
ci:
jobs:
- lint
- test-golang-1-10:
name: test-golang-1.10
- go/test:
name: test-golang-1.11
executor:
name: go/golang
tag: 1.11-alpine
- go/test:
name: test-golang-1.12
executor:
Expand All @@ -24,12 +17,17 @@ workflows:
executor:
name: go/golang
tag: 1.13-alpine
codecov-upload: true
- go/test:
name: test-golang-1.14
executor:
name: go/golang
tag: 1.14-alpine
- go/test:
name: test-golang-1.15
executor:
name: go/golang
tag: 1.15-alpine
codecov-upload: true
- go/test:
name: test-windows-go1.12
executor: windows
Expand All @@ -45,42 +43,8 @@ executors:
resource_class: windows.medium
shell: bash.exe

commands:
install-deps:
description: Install dep and dependencies
steps:
- run:
name: Install dep
command: |
command -v dep && exit
wget -O- -q https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run:
name: Install dependencies
command: dep ensure

jobs:

test-golang-1-10:
executor:
name: go/golang
tag: 1.10-alpine
working_directory: /go/src/gotest.tools/v3
steps:
- go/install: {package: git}
- go/install-ssh
- checkout
- go/install-gotestsum
- install-deps
- run:
name: go test
environment:
GOTESTSUM_JUNITFILE: /tmp/test-reports/unit/junit.xml
command: |
mkdir -p /tmp/test-reports/unit
gotestsum
- store_test_results:
path: /tmp/test-reports

lint:
executor: go/golang
steps:
Expand Down

0 comments on commit 96aacb9

Please sign in to comment.