summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 3876f7cc19dec87f8fd7ab3086aaa58914043681 (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.8"
  - "1.9"
  - "1.10"
  - 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)