Skip to content
Permalink
Browse files

Migrate from dep to go modules. (#437)

* Migrate from dep to go modules.

* set env var
  • Loading branch information...
stefan-improbable authored and aelsabbahy committed Jun 4, 2019
1 parent aa58d49 commit 6ba11dc982c498a54b7db9b35db0cad9e592ac1a
Showing with 22 additions and 216 deletions.
  1. +0 −2 .travis.yml
  2. +0 −152 Gopkg.lock
  3. +0 −57 Gopkg.toml
  4. +2 −5 Makefile
  5. +20 −0 go.mod
@@ -11,10 +11,8 @@ services:

before_install:
- go get -u golang.org/x/lint/golint
- DEP_RELEASE_TAG=0.5.0 curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

script:
- make deps
- make

deploy:

This file was deleted.

This file was deleted.

@@ -5,8 +5,9 @@ pkgs = $(shell ./novendor.sh)
cmd = goss
TRAVIS_TAG ?= "0.0.0"
GO_FILES = $(shell find . \( -path ./vendor -o -name '_test.go' \) -prune -o -name '*.go' -print)
GO111MODULE=on

.PHONY: all build install test coverage deps release bench test-int lint gen centos7 wheezy precise alpine3 arch test-int32 centos7-32 wheezy-32 precise-32 alpine3-32 arch-32
.PHONY: all build install test coverage release bench test-int lint gen centos7 wheezy precise alpine3 arch test-int32 centos7-32 wheezy-32 precise-32 alpine3-32 arch-32

all: test-all test-all-32

@@ -91,10 +92,6 @@ arch: build
test-all-32: lint test test-int-32
test-all: lint test test-int

deps:
$(info INFO: Starting build $@)
dep ensure

gen:
$(info INFO: Starting build $@)
go generate -tags genny $(pkgs)
20 go.mod
@@ -0,0 +1,20 @@
module github.com/aelsabbahy/goss

require (
github.com/achanda/go-sysctl v0.0.0-20160222034550-6be7678c45d2
github.com/aelsabbahy/GOnetstat v0.0.0-20160428114218-edf89f784e08
github.com/aelsabbahy/go-ps v0.0.0-20170721000941-443386855ca1
github.com/cheekybits/genny v0.0.0-20160824153601-e8e29e67948b
github.com/docker/docker v0.0.0-20161109014415-383a2f046b16
github.com/fatih/color v0.0.0-20161025120501-bf82308e8c85
github.com/mattn/go-colorable v0.0.9
github.com/mattn/go-isatty v0.0.4
github.com/miekg/dns v0.0.0-20161018060808-58f52c57ce9d
github.com/oleiade/reflections v0.0.0-20160817071559-0e86b3c98b2f
github.com/onsi/gomega v0.0.0-20161031154339-ff4bc6b6f9f5
github.com/opencontainers/runc v0.0.0-20161107232042-8779fa57eb4a
github.com/patrickmn/go-cache v2.0.0+incompatible
github.com/urfave/cli v0.0.0-20161102131801-d86a009f5e13
golang.org/x/sys v0.0.0-20181210030007-2a47403f2ae5
gopkg.in/yaml.v2 v2.0.0-20160928153709-a5b47d31c556
)

0 comments on commit 6ba11dc

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