forked from projectcontour/contour
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (47 loc) · 1.09 KB
/
.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
42
43
44
45
46
47
48
49
50
51
os: linux
dist: bionic
language: go
go: 1.13.x
services:
- docker
cache:
directories:
- /home/travis/.cache/go-build
- /home/travis/gopath/pkg/mod
env:
global:
- GOPROXY=https://proxy.golang.org/
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
jobs:
include:
- name: test
install:
- go mod vendor
script:
- make install
- make check-coverage
after_success:
- CODECOV_NAME=coverage.out bash <(curl -s https://codecov.io/bash)
- name: lint
install:
- go mod vendor
script:
- make lint
- name: codegen
install:
- go mod vendor
script:
- make generate
- ./hack/travis/check-uncommitted-codegen.sh
- name: site proof
language: ruby
rvm: 2.6
cache: bundler
addons:
apt:
packages:
- libcurl4-openssl-dev
install:
- ./hack/travis/travis-check-files-changed.sh ./site ; RETURN_CODE=$? ; if [ $RETURN_CODE -eq 137 ]; then travis_terminate 0; elif [ $RETURN_CODE -ne 0 ]; then travis_terminate $RETURN_CODE; fi
script:
- ./hack/site-proofing/cibuild