language: go

go:
  - '1.9'
  - '1.10'

addons:
  apt:
    packages:
      - rpm

script:
  - go install github.com/go-task/task/cmd/task
  - task ci

deploy:
  - provider: script
    skip_cleanup: true
    script: curl -sL http://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux

language: go

go:
  - 1.9.x
  - 1.10.x

addons:
  apt:
    packages:
      - rpm

script:
  - go install github.com/go-task/task/cmd/task
  - task ci

deploy:
  - provider: script
    skip_cleanup: true
    script: curl -sL http://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux

Use latest patch releases of Go
Use latest patch releases of Go