2019-10-03 11:22:11 +00:00
|
|
|
---
|
2019-10-07 01:43:51 +00:00
|
|
|
# linted with yamllint
|
2019-09-25 15:45:05 +00:00
|
|
|
os: linux
|
|
|
|
language: go
|
|
|
|
go:
|
2020-07-20 21:45:26 +00:00
|
|
|
- 1.14.6
|
2019-08-09 22:55:17 +00:00
|
|
|
env:
|
2019-09-25 15:33:34 +00:00
|
|
|
global:
|
|
|
|
- GOPROXY=https://proxy.golang.org
|
2019-07-15 17:29:58 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-09-25 16:14:53 +00:00
|
|
|
- language: go
|
2019-10-03 11:22:11 +00:00
|
|
|
name: Code Lint
|
2020-07-20 21:45:26 +00:00
|
|
|
go: 1.14.6
|
2019-10-25 22:53:04 +00:00
|
|
|
env:
|
|
|
|
- TESTSUITE=lintall
|
2019-09-25 17:17:42 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -y libvirt-dev
|
2019-09-25 16:14:53 +00:00
|
|
|
script: make test
|
|
|
|
|
|
|
|
- language: go
|
2019-09-25 18:29:21 +00:00
|
|
|
name: Unit Test
|
2020-07-20 21:45:26 +00:00
|
|
|
go: 1.14.6
|
2019-09-25 16:14:53 +00:00
|
|
|
env:
|
2019-09-25 18:20:28 +00:00
|
|
|
- TESTSUITE=unittest
|
2019-09-25 17:17:42 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install -y libvirt-dev
|
2019-09-25 16:14:53 +00:00
|
|
|
script: make test
|
2019-10-25 22:38:12 +00:00
|
|
|
|
|
|
|
- language: go
|
2019-10-28 22:03:25 +00:00
|
|
|
name: Build
|
2020-07-20 21:45:26 +00:00
|
|
|
go: 1.14.6
|
2019-10-28 21:58:09 +00:00
|
|
|
script: make
|
2016-08-17 18:09:39 +00:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2019-08-21 21:35:33 +00:00
|
|
|
notifications:
|
2019-10-03 11:22:11 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://www.travisbuddy.com?only=failed,errored
|
|
|
|
on_success: never # don't comment on successful builds.
|
|
|
|
on_failure: always
|
|
|
|
on_cancel: always
|
|
|
|
on_error: always
|