summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 32080662d25708acbdc926a40a4500ada04ff354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: go
sudo: false
go:
  - 1.11
  - 1.10.x
  - 1.9
  - 1.8

before_install:
  - go get -u -t ./...
  - go get -u gopkg.in/alecthomas/gometalinter.v2
  - gometalinter.v2 --install

script:
  - gometalinter.v2 --config metalinter.json ./...
  - GO111MODULE=on ./test.sh

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