language: go
sudo: required

go:
  - 1.7.6
  - 1.8.3
  - tip

os:
  - linux

matrix:
  allow_failures:
    - go: tip

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libgeoip-dev

install:
  - go version
  - export GOBIN="$GOPATH/bin"
  - export PATH="$PATH:$GOBIN"
  - go env

script:
  - make
  - make test
language: go
sudo: required

# https://docs.travis-ci.com/user/languages/go/#go-import-path
go_import_path: github.com/etix/mirrorbits

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

os:
  - linux

matrix:
  allow_failures:
    - go: master

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libgeoip-dev

install:
  - go version
  - export GOBIN="$GOPATH/bin"
  - export PATH="$PATH:$GOBIN"
  - go env

script:
  - make
  - make test

Test against latest Go versions
Test against latest Go versions
