mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 15:31:20 +08:00
589a47ee27
We now use "deploy" to mean both the coverage job and the binary-building job.
26 lines
569 B
YAML
26 lines
569 B
YAML
language: go
|
|
os:
|
|
- linux
|
|
- osx
|
|
sudo: false
|
|
go:
|
|
- "1.11"
|
|
- "1.10"
|
|
env: CGO_ENABLED=0
|
|
jobs:
|
|
include:
|
|
# NOTE: Coverages are not enabled for pull requests yet
|
|
- stage: deploy
|
|
name: Generate and upload Linux coverage profiles
|
|
script: make coverage-travis
|
|
if: type = push
|
|
os: linux
|
|
- name: Generate and upload macOS coverage profiles
|
|
script: make coverage-travis
|
|
if: type = push
|
|
os: osx
|
|
- name: Build and upload binaries to bintray
|
|
script: make binaries-travis
|
|
if: type = push
|
|
script: make test
|