1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-12 08:54:09 +02:00
ko-build/.travis.yml

27 lines
411 B
YAML
Raw Normal View History

2019-03-14 20:23:47 +02:00
sudo: false
dist: trusty
language:
- go
go:
- "1.11"
- "1.12"
2019-03-14 20:23:47 +02:00
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)