1
0
mirror of https://github.com/ko-build/ko.git synced 2024-12-12 08:54:09 +02:00
ko-build/.travis.yml
2019-03-21 18:56:16 -04:00

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)