Skip to content
Permalink
Browse files

Add Travis

  • Loading branch information
mxpv committed Jul 25, 2019
1 parent 1a4a0a5 commit 81aeb64e13fe1e833be02ce3c5bcc633308f6ce8
Showing with 22 additions and 19 deletions.
  1. +1 −1 .golangci.yml
  2. +20 −0 .travis.yml
  3. +1 −1 Makefile
  4. +0 −14 buildspec.yml
  5. +0 −1 go.mod
  6. +0 −2 go.sum
@@ -12,4 +12,4 @@ linters:
- lll
issues:
exclude:
- if block ends with a return statement, so drop this else and outdent its block
- if block ends with a return statement, so drop this else and outdent its block
@@ -0,0 +1,20 @@
dist: bionic

language: go
go:
- 1.12.x

env:
- GO111MODULE=on

cache:
directories:
- $HOME/gopath/pkg/mod
- $HOME/.cache/go-build

install:
- go mod download

script:
- make lint
- make test
@@ -7,7 +7,7 @@ push:
for d in $(SUBDIRS); do $(MAKE) -C $$d push; done

$(GOLANGCI):
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BINPATH) v1.16.0
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BINPATH) v1.17.1
$(GOLANGCI) --version

.PHONY: lint

This file was deleted.

1 go.mod
@@ -15,7 +15,6 @@ require (
github.com/gin-gonic/gin v1.3.0
github.com/go-chi/chi v4.0.2+incompatible
github.com/go-pg/pg v6.14.2+incompatible
github.com/go-redis/redis v6.15.2+incompatible
github.com/golang/mock v1.2.0
github.com/gorilla/sessions v1.1.1 // indirect
github.com/jessevdk/go-flags v1.4.0
2 go.sum
@@ -34,8 +34,6 @@ github.com/go-chi/chi v4.0.2+incompatible h1:maB6vn6FqCxrpz4FqWdh4+lwpyZIQS7YEAU
github.com/go-chi/chi v4.0.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/go-pg/pg v6.14.2+incompatible h1:FrOgsHDUhC3V3wkBGAIN5LVj4nJczFPyy1YNFnetfIQ=
github.com/go-pg/pg v6.14.2+incompatible/go.mod h1:a2oXow+aFOrvwcKs3eIA0lNFmMilrxK2sOkB5NWe0vA=
github.com/go-redis/redis v6.15.2+incompatible h1:9SpNVG76gr6InJGxoZ6IuuxaCOQwDAhzyXg+Bs+0Sb4=
github.com/go-redis/redis v6.15.2+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
github.com/golang/mock v1.2.0 h1:28o5sBqPkBsMGnC6b4MvE2TzSr5/AT4c/1fLqVGIwlk=
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=

0 comments on commit 81aeb64

Please sign in to comment.
You can’t perform that action at this time.