linux-bench/.travis.yml
TerraNovaUser 3ed1a85c7e
Update .travis.yml
Added for Codecov
2019-08-06 23:46:28 +03:00

30 lines
530 B
YAML

---
language: go
sudo: required
notifications:
email: false
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y rpm
script:
- GO111MODULE=on go test ./...
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: "$TRAVIS_OS_NAME = linux"
env:
matrix:
- GO111MODULE=on