-
Notifications
You must be signed in to change notification settings - Fork 674
/
.travis.yml
40 lines (35 loc) · 903 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
dist: bionic
sudo: false
language: go
go:
- 1.19.x
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
before_script:
- scripts/detect_secrets.sh
install:
# Required to install detect-secrets
- sudo chmod o+rwx /usr/lib/python3/dist-packages/
- python3 -m pip install -U pip
- pip3 install pyOpenSSL --upgrade
- pip3 install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- go get github.com/kardianos/govendor
script:
- make test
- make vet
branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip