language: go

go:
  - 1.7.x
  - 1.8.x
  - tip

go_import_path: github.com/containerd/continuity

env:
# NOTE: we cannot set GOOS directly (because gimme overrides the value)
  - TRAVIS_GOOS=windows
  - TRAVIS_GOOS=linux
  - TRAVIS_GOOS=darwin
  - TRAVIS_GOOS=solaris

script:
# TODO: vendor
  - export GOOS=${TRAVIS_GOOS}
  - go get -t ./...
  - make build binaries
  - if [ "$GOOS" = "linux" ]; then make vet test; fi
  - if [ "$GOOS" != "linux" ]; then make test-compile; fi

language: go

go:
  - 1.8.x
  - 1.9.x
  - tip

go_import_path: github.com/containerd/continuity

env:
# NOTE: we cannot set GOOS directly (because gimme overrides the value)
  - TRAVIS_GOOS=windows
  - TRAVIS_GOOS=linux
  - TRAVIS_GOOS=darwin
  - TRAVIS_GOOS=solaris

script:
# TODO: vendor
  - export GOOS=${TRAVIS_GOOS}
  - go get -t ./...
  - make build binaries
  - if [ "$GOOS" = "linux" ]; then make vet test; fi
  - if [ "$GOOS" != "linux" ]; then make test-compile; fi

Test Go 1.9, drop Go 1.7
Test Go 1.9, drop Go 1.7

Signed-off-by: Ian Campbell <a8db091655a7f47ecb9c39a2d278e9662e440dc0@docker.com>
