-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from h3poteto/feature/mod
Introduce go module instead of glide
- Loading branch information
Showing
5 changed files
with
178 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
language: go | ||
|
||
env: | ||
- GO111MODULE=on | ||
|
||
go: | ||
- 1.10.x | ||
- 1.11.x | ||
- 1.12.x | ||
|
||
before_install: | ||
- wget "https://github.com/Masterminds/glide/releases/download/v0.13.2/glide-v0.13.2-linux-amd64.tar.gz" | ||
- mkdir -p $HOME/bin | ||
- tar -vxz -C $HOME/bin --strip=1 -f glide-v0.13.2-linux-amd64.tar.gz | ||
- export PATH="$HOME/bin:$PATH" | ||
- 1.13.x | ||
|
||
install: | ||
- glide install | ||
- go mod download | ||
|
||
script: | ||
- cd job && go test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module github.com/h3poteto/kube-job | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/BurntSushi/toml v0.3.1 // indirect | ||
github.com/fsnotify/fsnotify v1.4.8-0.20180830220226-ccc981bf8038 // indirect | ||
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 | ||
github.com/hashicorp/hcl v1.0.1-0.20180906183839-65a6292f0157 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/magiconair/properties v1.8.1-0.20190110142458-7757cc9fdb85 // indirect | ||
github.com/mattn/go-shellwords v1.0.4-0.20181023065652-3c0603ff9671 | ||
github.com/pelletier/go-toml v1.2.1-0.20181124002727-27c6b39a135b // indirect | ||
github.com/pkg/errors v0.8.2-0.20190109061628-ffb6e22f0193 | ||
github.com/sirupsen/logrus v1.3.0 | ||
github.com/spf13/afero v1.2.1 // indirect | ||
github.com/spf13/cobra v0.0.4-0.20190109003409-7547e83b2d85 | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/viper v1.3.2-0.20190127094459-d104d259b338 | ||
k8s.io/api v0.0.0-20191016110246-af539daaa43a | ||
k8s.io/apimachinery v0.0.0-20191004115701-31ade1b30762 | ||
k8s.io/client-go v0.0.0-20191016110837-54936ba21026 | ||
k8s.io/klog v1.0.0 // indirect | ||
) |
Oops, something went wrong.