Skip to content
Snippets Groups Projects
Commit f9a69ed3 authored by Erick Hitter's avatar Erick Hitter
Browse files

CI testing

parent 2af2c1b1
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -38,7 +38,7 @@ compile: ...@@ -38,7 +38,7 @@ compile:
- go get github.com/hpcloud/tail - go get github.com/hpcloud/tail
- go get github.com/alecthomas/kingpin - go get github.com/alecthomas/kingpin
# Better put this in a Makefile # Better put this in a Makefile
- go build -race -ldflags "-extldflags '-static'" -o mybinary - go build -race -ldflags "-extldflags '-static'" -o eth-log-alerting
artifacts: artifacts:
paths: paths:
- mybinary - eth-log-alerting
...@@ -38,6 +38,8 @@ var ( ...@@ -38,6 +38,8 @@ var (
logger *log.Logger logger *log.Logger
debugDest string debugDest string
debug bool debug bool
bad_var_name string
) )
func init() { func init() {
...@@ -56,7 +58,7 @@ func init() { ...@@ -56,7 +58,7 @@ func init() {
validatePath(&logPath) validatePath(&logPath)
if !govalidator.IsURL(webhookURL) || len(channel) < 2 { if ! govalidator.IsURL(webhookURL) || len(channel) < 2 {
usage() usage()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment