diff --git a/.gitignore b/.gitignore index 504e956..4b3f2c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -vendor/*/ .idea/ *.iml ggr diff --git a/.travis.yml b/.travis.yml index 02bea09..6947cd5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,22 +2,19 @@ sudo: required language: go go: - - 1.10.x + - 1.11.x services: - docker script: + - export GO111MODULE="on" - go test -tags 'watch' -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg github.com/aerokube/ggr - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD` -s -w" - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -tags 'watch' -o ggr-watch -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD` -s -w" - gox -os "linux darwin windows" -arch "amd64" -osarch="windows/386" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD` -s -w" -before_install: - - go get -u github.com/golang/dep/cmd/dep - install: - - dep ensure - go get -u github.com/mitchellh/gox # cross compile deploy: diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..6540d36 --- /dev/null +++ b/go.mod @@ -0,0 +1,11 @@ +module github.com/aerokube/ggr + +require ( + github.com/aandryashin/matchers v0.0.0-20160729131923-5eb67beb188b + github.com/aandryashin/reloader v0.0.0-20161127125235-da4f1b43ce40 + github.com/abbot/go-http-auth v0.0.0-20161224193827-d45c47bedec7 + github.com/fsnotify/fsnotify v1.4.7 // indirect + golang.org/x/crypto v0.0.0-20161221235747-f6b343c37ca8 // indirect + golang.org/x/net v0.0.0-20170114055629-f2499483f923 + golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..a458ddc --- /dev/null +++ b/go.sum @@ -0,0 +1,14 @@ +github.com/aandryashin/matchers v0.0.0-20160729131923-5eb67beb188b h1:2hJ49uel4j48uteFY3ybBiSB35Ml86IZkSXAb+rj0lQ= +github.com/aandryashin/matchers v0.0.0-20160729131923-5eb67beb188b/go.mod h1:cbmYNkm9xeQlNoWEPtOUcvNok2gSD7ErMnYkRW+eHi8= +github.com/aandryashin/reloader v0.0.0-20161127125235-da4f1b43ce40 h1:zSKVi4h3Kv0HvNGjWPOsOEJIxtvd3PRMlVA/fcCB45g= +github.com/aandryashin/reloader v0.0.0-20161127125235-da4f1b43ce40/go.mod h1:gvg2/m9OQ4ZwK4Qk/mnfgokCb4qDN4BGyle+QGw4VOc= +github.com/abbot/go-http-auth v0.0.0-20161224193827-d45c47bedec7 h1:KJUi5ewBK5c1HoKfX84cQ2OUjwZMegYJniXKAUh9Y7s= +github.com/abbot/go-http-auth v0.0.0-20161224193827-d45c47bedec7/go.mod h1:Cz6ARTIzApMJDzh5bRMSUou6UMSp0IEXg9km/ci7TJM= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +golang.org/x/crypto v0.0.0-20161221235747-f6b343c37ca8 h1:zIHAgCmsFRg+vGki4hNgH4OcldCIRM+T5OtdNTAIgeQ= +golang.org/x/crypto v0.0.0-20161221235747-f6b343c37ca8/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/net v0.0.0-20170114055629-f2499483f923 h1:cLl2p2++IYXqH4YzQ7uIc7QLOa4SU0x1vSy9Da++V94= +golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0 h1:8H8QZJ30plJyIVj60H3lr8TZGIq2Fh3Cyrs/ZNg1foU= +golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=