Skip to content

Commit

Permalink
Merge pull request #223 from mavimo/feature/222-switch-to-go1-11-with…
Browse files Browse the repository at this point in the history
…-go-mod-as-dependency-manager

refs #222: move to go1.11 and go.mod
  • Loading branch information
xetys authored Jan 27, 2019
2 parents ce69a48 + 40114d8 commit d63157b
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 348 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@ language: go

sudo: false

go_import_path: github.com/xetys/hetzner-kube
install: true

cache:
directories:
- vendor
env:
- GO111MODULE=on

go:
- 1.9.x
- 1.10.x
- 1.11.x
- tip

before_install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure

after_script:
- make hard-cleanup

Expand Down
291 changes: 0 additions & 291 deletions Gopkg.lock

This file was deleted.

43 changes: 0 additions & 43 deletions Gopkg.toml

This file was deleted.

5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ detect-datacenter:
build-cleanup:
@rm -rf dist/*

build-prepare:
@dep ensure

build: build-cleanup build-prepare
build: build-cleanup
@mkdir -p dist
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X cmd.version=${VERSION}" -o dist/hetzner-kube-${VERSION}-linux-amd64
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags "-X cmd.version=${VERSION}" -o dist/hetzner-kube-${VERSION}-linux-386
Expand Down
Loading

0 comments on commit d63157b

Please sign in to comment.