diff --git a/.drone.yml b/.drone.yml index 77ef0185..7eb8572f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,10 +7,8 @@ pipeline: build: image: golang:1.9-alpine commands: - - apk add --no-cache --update tzdata && cp /usr/share/zoneinfo/America/Chicago /etc/localtime - cd app - - go get -v ./... - - go test -v ./... + - go build -v ./... docker: image: plugins/docker @@ -21,7 +19,7 @@ pipeline: notify: image: drillster/drone-email host: homemail.umputun.com - from: drone@yhomemail.umputun.com + from: drone@homemail.umputun.com recipients: [ umputun@gmail.com ] when: status: [ changed, failure ] diff --git a/app/main.go b/app/main.go index 4029ffff..eaca6e9a 100644 --- a/app/main.go +++ b/app/main.go @@ -122,7 +122,7 @@ func main() { }.Do() } - srv.Run() + xsrv.Run() } // makeBoltStore creates store for all sites