summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: a69e92edbea2af99bcd33d16c481d390e4ec9718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: go

sudo: required

go:
  - "1.9"
  - "1.10"
  - "1.11rc1"
  - tip

before_install:
  - go get -t -v ./...

before_script:
  - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
      sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
    fi

script:
  - ./.travis/tests.sh

after_success:
  - bash <(curl -s https://codecov.io/bash)