mirror of
https://github.com/ko-build/ko.git
synced 2024-12-12 08:54:09 +02:00
27 lines
411 B
YAML
27 lines
411 B
YAML
sudo: false
|
|
|
|
dist: trusty
|
|
|
|
language:
|
|
- go
|
|
|
|
go:
|
|
- "1.11"
|
|
- "1.12"
|
|
|
|
git:
|
|
depth: 1
|
|
|
|
install: true
|
|
|
|
script:
|
|
# Verify that all source files are correctly formatted.
|
|
- find . -name "*.go" | grep -v vendor/ | xargs gofmt -d -e -l
|
|
|
|
- go clean -i
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
# TODO: Set up coverage.
|
|
#after_success:
|
|
# - bash <(curl -s https://codecov.io/bash)
|