route/vendor/github.com/magefile/mage/.travis.yml

21 lines
540 B
YAML
Raw Normal View History

2017-10-06 15:29:20 +00:00
language: go
# prevent double test runs for PRs
branches:
only:
- "master"
# In theory, older versions would probably work fine, but since this isn't a
# library, I'm not going to worry about older versions for now.
go:
2018-01-03 19:19:49 +00:00
- 1.9.x
- 1.8.x
- 1.7.x
2017-10-06 15:29:20 +00:00
# don't call go get ./... because this hides when deps are
# not packaged into the vendor directory.
install: true
# don't call go test -v because we want to be able to only show t.Log output when
# a test fails
2018-01-03 19:19:49 +00:00
script: go test -tags CI -race $(go list ./... | grep -v /vendor/)