Explorar el Código

Merge pull request #196 from Shopify/go_fmt

Add `go fmt` to build
Evan Huus hace 11 años
padre
commit
63ff261f38
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -16,6 +16,7 @@ before_install:
 
 
 script:
 script:
 - go test -v -race ./...
 - go test -v -race ./...
+- if [[ -n $(go fmt ./...) ]]; then echo "Please run go fmt on your code." && exit 1; fi
 
 
 notifications:
 notifications:
   flowdock: 15e08f7ed3a8fd2d89ddb36435301c1a
   flowdock: 15e08f7ed3a8fd2d89ddb36435301c1a