Skip to content

Commit

Permalink
Remove go1.10 from CI and remove Gopkg files
Browse files Browse the repository at this point in the history
Module versions are not compatible with dep, and now that go1.14 is available
we can drop support for go1.10 which used dep to manage dependencies.
  • Loading branch information
dnephin committed Mar 19, 2020
1 parent 16cca0b commit 79cca92
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 189 deletions.
39 changes: 1 addition & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ orbs:
workflows:
ci:
jobs:
- test-go-1-10:
name: test-go-1.10

- go/test:
name: test-go-1.11
gotestsum-format: short-verbose
Expand All @@ -35,7 +32,7 @@ workflows:
gotestsum-format: short-verbose
executor:
name: go/golang
tag: 1.14rc1-alpine
tag: 1.14-alpine

- go/test:
name: test-windows-go1.12
Expand Down Expand Up @@ -70,18 +67,6 @@ executors:
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

install-goreleaser:
description: Install goreleaser
steps:
Expand Down Expand Up @@ -122,28 +107,6 @@ jobs:
path: ./dist
destination: dist

test-go-1-10:
executor:
name: go/golang
tag: 1.10-alpine
working_directory: /go/src/gotest.tools/gotestsum
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
GOTESTSUM_FORMAT: short-verbose
command: |
mkdir -p /tmp/test-reports/unit
gotestsum
- store_test_results:
path: /tmp/test-reports

run:
executor: go/golang
steps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
vendor/
.dobi/
.depsources
dist/
junit.xml
105 changes: 0 additions & 105 deletions Gopkg.lock

This file was deleted.

32 changes: 0 additions & 32 deletions Gopkg.toml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
## Install

Download a binary from [releases](https://github.com/gotestyourself/gotestsum/releases), or from
source with `go get gotest.tools/gotestsum` (you may need to run `dep ensure` if your version of Go
does not support modules).
source with `go get gotest.tools/gotestsum`.

## Demo
A demonstration of three `--format` options.
Expand Down
2 changes: 1 addition & 1 deletion dobi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ job=test-unit:
use: builder
mounts: [source, buildcache, modcache]
interactive: true
command: scripts/test-unit
command: ./dist/gotestsum -f testname

job=lint:
use: builder
Expand Down
10 changes: 0 additions & 10 deletions scripts/test-unit

This file was deleted.

0 comments on commit 79cca92

Please sign in to comment.