forked from dutchcoders/slackarchive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (27 loc) · 807 Bytes
/
.travis.yml
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
go:
- master
- tip
- 1.9.x
- 1.10.x
- 1.11.x
sudo: required
dist: trusty
go_import_path: github.com/dutchcoders/slackarchive
services:
- docker
os:
- linux
env:
- ARCH=x86_64
install:
- sudo apt-get update -qq
- sudo apt-get install -y software-properties-common
- go get -u -v gopkg.in/alecthomas/gometalinter.v2
- go get -u -v github.com/dutchcoders/slackarchive
- gometalinter.v2 --install
script:
- go test -v ./...
- go test -race -coverprofile=coverage.txt -covermode=atomic
- go build ./...
- gometalinter.v2 --fast --deadline 10m --errors --vendor --sort=linter ./... --exclude='blank import' --exclude='should have comment' --exclude='should be of the form "' --exclude='can be annoying to use' # Report warnings, but do not fail if there are any