elvish/.travis.yml
Qi Xiao 589a47ee27 Use "binaries" for the job of building binaries on Travis.
We now use "deploy" to mean both the coverage job and the
binary-building job.
2018-09-14 13:37:29 +01:00

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