fields/.travis.yml

39 lines
1.3 KiB
YAML
Raw Permalink Normal View History

language: go
cache:
directories:
- "$GOPATH/pkg/mod"
install: true
addons:
artifacts:
debug: true
go:
- 1.13.x
env:
global:
- GOPROXY=https://proxy.golang.org
- GO111MODULE=on
- GOARCH=amd64
- GO_FOR_RELEASE=1.13
jobs:
allow_failures:
- go: master
include:
- go: master
env: JOB=test
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: OU8Dv4Z7XKnXWcwVRSCiMfhgfLHXxUOqk0KF0qEKqxb61HFTFKHWci9bW47n4vYF3/2YI23d8UcFQJcTLMYEe8PdMkNa+yDu1A0mWIAcuVHQ/bKJNEhFklnfac9kzf8mDkpjMmY2jvHXeFolLBfoznluCV2A7YnbfBK/zJ0FG8OpaTZyziJV+61PqwDVou3Zk9jDUSF6Okzjcxsn8NqpultK9uQ46+/CVfoh6aQMWTLU58wuFk2VT46/BBfchyHZl2C+QX0kBrp2jlYNXrdVZXGQVJ2AK2Jzk5l9FO0g2LZT0Tg6CatiTvNUewdlnYrEldkRvWU96y8TcaokNnTVLoZSKxztPX3E1c0a8sFHFvam64IQytRg+Bb3g2yJv4G7H0iC0gJEOJIQRukKbqY+yKzmQWhUyLXNyAMkaD4EZsWI5ec9wvzaTXAviK8pAYsiCRO2h3X6SdiFyGxMUDRZUIq48776gOcXK0TsdTBLqYEHXc5BKIPyDfpo3AN+2wdRxeyWnKAXxJVHSKurYSnJjk/0HTcZlkKeEvZgG2K1o2/MksuUovF71aTGStcb4/ma9bO5O38ZAoBOivp1UvIa0kKu5N9x+OdOxXdQBBnIZo5S8/YRjyejL4p6dNRHGq4wNWfrw3lbZU4KNqmWzLtj1qzjcnBjiy02BOpS6dpxrm4=
skip_cleanup: true
on:
repo: go-convert/fields
tags: true
notifications:
email:
on_success: change
on_failure: always