forked from coredhcp/coredhcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (33 loc) · 1017 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
36
37
38
39
40
41
language: go
os: linux
dist: bionic
# The first element in this list will be the default for the non-matrix jobs,
# so you usually want the latest version first
go:
- 1.14.x
- 1.13.x
- 1.12.x
- master
env:
global:
- GO111MODULE=on
before_install:
- go get -t -v ./...
- go get -t -v github.com/stretchr/testify/...
# This is the script for the matrix tests (ran with each version of go)
script: |
./.travis/setup-integ.sh
./.travis/tests.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
# These are individual jobs unrelated to the matrix tests
jobs:
include:
- name: Generator/main entrypoint drift
script: ./.travis/check-generator-main.sh
- name: license headers
before_install: go get -u github.com/u-root/u-root/tools/checklicenses
script: checklicenses -c .travis/checklicenses_config.json
- name: golangci-lint
before_install: go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
script: golangci-lint run