Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Require go 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Feb 4, 2020
1 parent 1f2b25b commit b2d3d27
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
disable = [
"gochecknoglobals",
"gofmt",
"gomnd"
]
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
dist: xenial

language: go

go:
- "1.12"
- "1.13"

services:
- docker

env:
global:
- GO111MODULE=on
# docker credentials
- secure: "MMDlT13nZPkJRlC6qXXYoxNJrwxoXFyzxJsipZhEE0YGza1kq/8spej9QroYlh5LgpJbcIOV0FtrKWF+5NYSY/dsNF/apKZkdgpemh7pDez8R6vaGCLoXvAnd5HAkyHv/uzrxUYAK9NuKBc4utZLMmsZxmY1HFd3M357WX6X6JpxxESPtMb7mdY5OZFmqnaNlde6p8zoo9oJmiG6Q0t52nhNaSY82Y2kf06e32IfgJiRwDzideLyVU1TH1YcSRXstT3m8/xPJQWDRKUNurbKeJnPJE/iga/fGNjvMaEtLcbSCE9g4AgyaJEfPgHGDFNCUQ3G7iovN6URNdk2Q8EJCaT6ZKDZAarWaF2SmUrnTWl1RjrjwnU7Yvvx4ls9b8iCEXAitXaSXqnz5M+yDKf33bO5mX1B4Skv7kPAdC4bHWtgndAOyfcLqUKbHntcYh2pGX61TBw7qD1mSVx3nItmIEvqKuP2dEmNc9nBO3lBD4CSRvNpKT1vT3S1wX25pblWvz1bV28LKuSPU5GzusaI/KJ2mv+YC2CTJ287tQd7xZSEFYaS2NT5irysT4awcJLvYXm6L1t2rC3XUAGGuBFMbTMJzRPCSyzuLStt66C0i83iLHmNIuCIsi0Yp02nvDuR+L1n5kl7NgSP7cc0bxSNQbzpv4ncruEHApLndK1N3Nw="
- secure: "aFjBMVNpdvHKAMCrS0HUNLfytpIaq/QZfIO2zHctUKjRf5iw1ypmA7sqfKpsxuGJv0Z0jFUOOSH0qct9XtmESC0RRNeuSTaQoqKnxu6abAYm3DGf653C1/fAY4UN3yDxzjNzbVPickH2kTsgm/DDXvjwlsp6p70qnWQg4+ET2uqygT7jkoL+Hn51l+hOe5q/P/2gzd36PwVWXWsrCu9u9THVg44ghp3wB0lfkiaXcFq4bPjBJYWIGsTBUt+KQIxwhNPUiYgCH8Lv+A86U1SkROEAA+5kU3Wbr8Leq5XXzUbLAnqXPzYfvMAb6zdtkILwZv2yjzdUpyN5fXEoWrPkCMK6w2vPu1jIr0H4g8Dy6mTbj7ux4YWoLfbbhCU8r6/t0dpuzt+nRglgbIpKHnbGA3SVt1LBH4Cf6bGjO0jeyYi5V3m88jg8Ul+gmP6ZhkEs7YeRDjKpy6BGygoVYt9ZPvaw5nQI5j5mDH6ncdvZ/ZxNOlMUOVWPONoHGybXasW/lmdagXosO/mdwlFxhHhpts9WTxQV20p4Hc6QMK2xB31Pdg2KmwyTqRVe7d1T82PnWyozSKWSjJLZVGR2is1rnCrmRBV2UvOlePtsqoQT/IoWFQT/6yt8tLdcnj0l1c27nMcHQAZySw3c4MTqT8VKEKzosyLP7GE+kdktryuhvfk="
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.PHONY: default clean checks test build publish-images test-release
.PHONY: default clean lint test build publish-images test-release release

TAG_NAME := $(shell git tag -l --contains HEAD)
SHA := $(shell git rev-parse --short HEAD)
VERSION := $(if $(TAG_NAME),$(TAG_NAME),$(SHA))

BUILD_DATE := $(shell date -u '+%Y-%m-%d_%H:%M:%S')

default: clean checks test build
default: clean lint test build

clean:
rm -rf dist/ cover.out

checks:
lint:
golangci-lint run

test: clean
Expand All @@ -27,3 +27,6 @@ publish-images:

test-release:
goreleaser --snapshot --skip-publish --rm-dist

release:
goreleaser --rm-dist
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/andig/gravo

go 1.12
go 1.13

0 comments on commit b2d3d27

Please sign in to comment.