elvish/.travis.yml
Kenneth Shaw f22c0f3b8d Convert to Go modules
Converts Gopkg.{toml,lock} to go.{mod,sum} and makes minor changes to
the travis-ci configuration.
2019-04-06 15:59:38 +01:00

28 lines
606 B
YAML

language: go
os:
- linux
- osx
sudo: false
go:
- 1.11.x
- 1.12.x
env:
- CGO_ENABLED=0
- CGO_ENABLED=0 GO111MODULE=on
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