language: go

go:
  - tip
  - 1.10
  - 1.9
  - 1.8
  - 1.7
  - 1.6
  - 1.5
  - 1.4.2
  - 1.3.3
  - 1.2.2
  - 1.1.2

language: go

go:
  - tip
  - "1.10.x"
  - "1.9.x"
  - "1.8.x"
  - "1.7.x"
  - "1.6.x"
  - "1.5.x"
  - "1.4.x"
  - "1.3.x"
  - "1.2.x"

Fix and update Travis build config
Fix and update Travis build config

- Fix building for go1.10, see travis-ci/travis-ci#9247.
- Add a ".x" suffix to each version so that Travis selects the latest
  minor release.
- Remove go1.1, which is not available anymore on Travis.
