From b1f63aa0cdb95aa93a72078da622f19a3f139ca3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 5 Jul 2018 11:02:17 -0700 Subject: .travis: Run gofmt and lint on OS X Just in case their output depends on the target GOOS. Lint, at least, does care, because it can pass on Linux [1] and fail on OS X [2] with the same code. [1]: https://travis-ci.org/projectatomic/libpod/jobs/400555936#L856 [2]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L153 Signed-off-by: W. Trevor King Closes: #1034 Approved by: baude --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index b42565093..5e4e662ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,11 @@ jobs: - make gofmt - make lint go: 1.10.x + - script: + - make gofmt + - make lint + go: 1.10.x + os: osx - script: - make testunit go: 1.9.x -- cgit v1.2.3-54-g00ecf