summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2018-07-05 11:02:17 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-06 00:48:39 +0000
commitb1f63aa0cdb95aa93a72078da622f19a3f139ca3 (patch)
tree0a525acb4147d48993a129d015b8f0f03ca04edc /.travis.yml
parent83968de28c37117d5e2ae6d713b30535fa6a163c (diff)
downloadpodman-b1f63aa0cdb95aa93a72078da622f19a3f139ca3.tar.gz
podman-b1f63aa0cdb95aa93a72078da622f19a3f139ca3.tar.bz2
podman-b1f63aa0cdb95aa93a72078da622f19a3f139ca3.zip
.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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b42565093..5e4e662ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,11 @@ jobs:
- make lint
go: 1.10.x
- script:
+ - make gofmt
+ - make lint
+ go: 1.10.x
+ os: osx
+ - script:
- make testunit
go: 1.9.x
- stage: Build and Verify