forked from aws/amazon-vpc-cni-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 756 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
# This is how to tell Travis to use the fast container-based test
# runner instead of the slow VM-based one.
sudo: false
language: go
# Only the last two Go releases are supported by the Go team with security updates.
# Any older versions are considered deprecated.
go:
- "1.13.x"
# Only clone the most recent commit.
git:
depth: 1
go_import_path: github.com/aws/amazon-vpc-cni-k8s
arch:
- amd64
- arm64
os: linux
env:
- GO111MODULE=on
# Install needed tools
install:
- go get -u golang.org/x/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
# Tests to run
script:
- make check-format
- make build-linux
- make lint LINT_FLAGS=
- make vet
- make unit-test
after_success:
- bash <(curl -s https://codecov.io/bash)