language: go

os:
  - linux
  - windows

go:
  - 1.10.x
  - 1.11.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

language: go

go:
  - 1.10.x
  - 1.11.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

Revert "Try out Windows builds in Travis"
Revert "Try out Windows builds in Travis"

This reverts commit fc34d6b56fc498f7d2010c69449613421c645d35.

Unfortunately, something seems wrong with Windows build on Travis.
And the output log is unhelpful to debug the problem.
