Directly install shfmt v1.3.1
language: go
-
go: 1.8.3
-
dist: trusty
-
group: edge
services:
@@ -34,6 +31,9 @@ install:
- go get github.com/FiloSottile/gvt
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
+- git clone --branch v1.3.1 https://github.com/mvdan/sh.git "${GOPATH%%:*}/src/github.com/mvdan/sh"
+- go get github.com/mvdan/sh/...
+- shfmt -version
- gem install package_cloud --no-ri --no-rdoc
script:
