language: go

go:
  - "1.9.x"
  - "1.10.x"
  - master

before_install:
  - go get github.com/mitchellh/gox
  - go get github.com/golang/dep/cmd/dep
  - dep ensure

before_deploy:
  - go get github.com/tcnksm/ghr

script: make all

deploy:
  - provider: script
    script: ./deploy.sh
    skip_cleanup: true
    on:
      go: "1.10.x"
      tags: true

language: go

go:
  - "1.9.x"
  - "1.10.1"
  - master

before_install:
  - go get github.com/mitchellh/gox
  - go get github.com/golang/dep/cmd/dep
  - dep ensure

before_deploy:
  - go get github.com/tcnksm/ghr

script: make all

deploy:
  - provider: script
    script: ./deploy.sh
    skip_cleanup: true
    on:
      go: "1.10.1"
      tags: true

Set a fixed Golang version in Travis-CI.
Set a fixed Golang version in Travis-CI.

The 1.10.x syntax doesn't seem to work for the `deploy.on` clause.
