132876b3ac
go changed formatting behavior between .10 and .11 One option is to download a specific version of gofmt but rather than do that we are removing .10 tests. Packer only supports the latest version of go, so it's unnecessary to test on prior version. Previously we tested on .9 and .10 because go changed the way tar encoding worked. We wanted to support .9 so users would have a b/c option if needed. As we move forward that's become unnecessary.
26 lines
231 B
YAML
26 lines
231 B
YAML
env:
|
|
- USER=travis
|
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.11.x
|
|
- master
|
|
|
|
install:
|
|
- make deps
|
|
|
|
script:
|
|
- GOMAXPROCS=2 make ci
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: master
|
|
fast_finish: true
|