mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
30 lines
694 B
YAML
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
|