2020-02-17 12:15:57 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go_import_path: go.uber.org/atomic
|
|
|
|
|
2020-11-19 07:52:04 +00:00
|
|
|
go:
|
|
|
|
- 1.11.x
|
|
|
|
- 1.12.x
|
2020-02-17 12:15:57 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.12.x
|
2020-11-19 07:52:04 +00:00
|
|
|
env: NO_TEST=yes LINT=yes
|
2020-02-17 12:15:57 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
|
2020-11-19 07:52:04 +00:00
|
|
|
install:
|
|
|
|
- make install_ci
|
2020-02-17 12:15:57 +00:00
|
|
|
|
|
|
|
script:
|
2020-11-19 07:52:04 +00:00
|
|
|
- test -n "$NO_TEST" || make test_ci
|
|
|
|
- test -n "$NO_TEST" || scripts/test-ubergo.sh
|
|
|
|
- test -z "$LINT" || make install_lint lint
|
2020-02-17 12:15:57 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|