mirror of
https://github.com/appleboy/drone-jenkins.git
synced 2026-06-04 18:23:57 +08:00
feat: support go module in go 1.11
This commit is contained in:
+8
-8
@@ -27,14 +27,14 @@ pipeline:
|
||||
- make test
|
||||
- make coverage
|
||||
|
||||
# build_linux_amd64_with_module:
|
||||
# image: golang:1.11
|
||||
# pull: true
|
||||
# group: build
|
||||
# environment:
|
||||
# GO111MODULE: "on"
|
||||
# commands:
|
||||
# - make build_linux_amd64
|
||||
build_linux_amd64_with_module:
|
||||
image: golang:1.11
|
||||
pull: true
|
||||
group: build
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
commands:
|
||||
- make build_linux_amd64
|
||||
|
||||
build_linux_amd64:
|
||||
image: golang:1.11
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
module github.com/appleboy/drone-jenkins
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.0
|
||||
github.com/joho/godotenv v0.0.0-20170328200154-325433c502d4
|
||||
github.com/pmezard/go-difflib v1.0.0
|
||||
github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1
|
||||
github.com/urfave/cli v0.0.0-20170506042529-d70f47eeca3a
|
||||
)
|
||||
@@ -0,0 +1,7 @@
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/joho/godotenv v0.0.0-20170328200154-325433c502d4 h1:4efwqN/95XpF2pyttkH2f288+TcG0jFQUk0avks7zes=
|
||||
github.com/joho/godotenv v0.0.0-20170328200154-325433c502d4/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/urfave/cli v0.0.0-20170506042529-d70f47eeca3a h1:QCKpTIKfYPSx19VYrRHtsbShQVfIFzBFe3pO/wBUOc8=
|
||||
github.com/urfave/cli v0.0.0-20170506042529-d70f47eeca3a/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
|
||||
Reference in New Issue
Block a user