elvish/.travis.yml
2020-01-14 09:14:36 -05:00

30 lines
694 B
YAML

language: go
os:
- linux
- osx
sudo: false
go:
- 1.13.x
env:
global:
- CGO_ENABLED=0
- ELVISH_TEST_UI_TIMEOUT=5s
jobs:
include:
# TODO(xiaq): Enable coverage reports for pull requests
- stage: deploy
name: Generate and upload coverage to codecov and coveralls
script: make upload-coverage-codecov upload-coverage-coveralls
if: type = push
os: linux
- stage: deploy
name: Generate and upload coverage to codecov
script: make upload-coverage-codecov
if: type = push
os: osx
- stage: deploy
name: Build and upload binaries to bintray
script: make binaries-travis
if: type = push
script: make test