summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/.travis.yml
blob: ed99d9effc7ed64fe9131094afd6c36498790d97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: go

env:
  - GO111MODULE=on

install: true

before_install:
  - export PATH=$HOME/gopath/bin:$PATH
  # install gometalinter
  - curl -L https://git.io/vp6lP | sh

script:
  - PATH=$PWD/bin:$PATH gometalinter ./...
  - go test -race -cover ./...

matrix:
  allow_failures:
    - go: tip
  include:
  - go: "1.7.x"
    script:  go test -v ./...
  - go: "1.8.x"
    script:  go test -v ./...
  - go: "1.9.x"
    script:  go test -v ./...
  - go: "1.10.x"
    script:  go test -v ./...
  - go: "1.11.x"
    script: go test -v -mod=vendor ./...
  - go: "tip"
    script: go test -v -mod=vendor ./...

git:
  depth: 10