wg-quicker/vendor/github.com/vektra/mockery/v2/.travis.yml

37 lines
547 B
YAML
Raw Normal View History

arch:
- amd64
- ppc64le
language: go
os:
- linux
- osx
env:
- GO111MODULE=on CGO_ENABLED=0
go:
- 1.16.x
- tip
git:
depth: 1
script:
- go test -v -coverprofile=coverage.txt ./...
services:
- docker
after_success:
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- bash <(curl -s https://codecov.io/bash)
deploy:
- provider: script
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
go: 1.16.x