forked from ligato/vpp-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (48 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
52
53
54
55
56
57
58
---
dist: trusty
sudo: required
language: go
go:
- "1.11.x"
addons:
apt:
packages:
- npm
go_import_path: github.com/ligato/vpp-agent
git:
depth: 10
submodules: false
cache:
directories:
- $HOME/.cache/go-build
- $HOME/build-cache
- $HOME/.npm
- $(npm config get prefix)/lib/node_modules
env:
- GO_BUILD_TAGS=mockvpp
before_install:
- make travis
- make get-linkcheck
- make get-linters
- make get-dep
- go get github.com/mattn/goveralls
script:
- make yamllint
- make check-links || true
- make lint
- make dep-check
- make verify-binapi
- make
- make test-cover
after_success:
- goveralls -coverprofile=/tmp/coverage.out -service=travis-ci
notifications:
slack:
rooms:
- ligato:xLH4aTwGx1dexPaloAegQ74O
on_success: change
on_failure: always
template:
- "Build <%{build_url}|#%{build_number}> of *%{repository_slug}* on branch _%{branch}_ in PR: <%{pull_request_url}|#%{pull_request_number}>"
- "> `%{commit_subject}` _by %{author}_ (<%{compare_url}|%{commit}>)"
- "*%{message}* (_%{duration}_)"