Browse Source

When running go fmt, match all Golang patch versions

Vlad Gorodetsky 7 năm trước cách đây
mục cha
commit
fe4d3fa79d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -27,7 +27,7 @@ script:
 - make test
 - make vet
 - make errcheck
-- if [ "$TRAVIS_GO_VERSION" = "1.11" ]; then make fmt; fi
+- if [[ "$TRAVIS_GO_VERSION" == 1.11* ]]; then make fmt; fi
 
 after_success:
 - bash <(curl -s https://codecov.io/bash)