elvish/.travis.yml

26 lines
573 B
YAML

language: go
os:
- linux
- osx
sudo: false
go:
- "1.11.x"
- "1.10.x"
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