.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 <wking@tremily.us>

Closes: #1034
Approved by: baude
This commit is contained in:
W. Trevor King
2018-07-05 11:02:17 -07:00
committed by Atomic Bot
parent 83968de28c
commit b1f63aa0cd

View File

@ -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