Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from devsbb/go-mod-new-caddy
Browse files Browse the repository at this point in the history
Use go mod and new caddy import
  • Loading branch information
lucaslorentz authored Nov 26, 2019
2 parents 437634b + 3a25214 commit 225d711
Show file tree
Hide file tree
Showing 11 changed files with 428 additions and 229 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ sudo: required
go_import_path: github.com/lucaslorentz/caddy-supervisor

go:
- 1.9.x
- 1.13.x

dist: trusty

install:
- go get -v github.com/Masterminds/glide
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/v0.12.3 && go install && cd -
- glide install

- export GO111MODULE=on
- go get -v
script:
- ./build.sh
6 changes: 2 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

set -e

glide install

go vet $(glide novendor)
go test -race -v $(glide novendor)
go get -v
go test -race -v

CGO_ENABLED=0 go build -o caddy

Expand Down
204 changes: 0 additions & 204 deletions glide.lock

This file was deleted.

10 changes: 0 additions & 10 deletions glide.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module github.com/lucaslorentz/caddy-supervisor

go 1.13

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.15.0+incompatible
github.com/aokoli/goutils v1.1.0 // indirect
github.com/caddyserver/caddy v1.0.4
github.com/hacdias/caddy-service v1.0.1
github.com/huandu/xstrings v1.2.1 // indirect
github.com/imdario/mergo v0.3.8 // indirect
)
Loading

0 comments on commit 225d711

Please sign in to comment.