Skip to content

Commit

Permalink
Setup build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Mar 12, 2020
1 parent 9023e1a commit 8c7e746
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: go
dist: bionic
go:
- 1.13.x
os:
- linux
- osx

before_script:
- make download
Expand All @@ -12,10 +15,12 @@ script:
- make fmt
- git diff --exit-code

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
jobs:
include:
- stage: deploy
provider: script
script: curl -sL https://git.io/goreleaser | bash
os: linux
go: 1.13.x
on:
tags: true

0 comments on commit 8c7e746

Please sign in to comment.