Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
fix(CI): only run semantic-release on push-to-master (not on pull req…
Browse files Browse the repository at this point in the history
…uests) (#184)

* fix(CI): only run semantic-release on push-to-master (not on pull
    requests)

* fix(CI): removed builds for older versions of Go
  • Loading branch information
PaulMaddox authored Mar 10, 2019
1 parent 320b776 commit c83945a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ language: go

matrix:
include:
- go: "1.10.x"
script: go test -v ./...
- go: "1.11.x"
- go: "1.12.x"
script: go test -v -mod=vendor ./...

env:
Expand All @@ -27,6 +25,7 @@ jobs:

# Define the release stage that runs semantic-release
- stage: release
if: branch = master AND type = push
language: node_js
node_js: lts/*
before_install: skip
Expand Down

0 comments on commit c83945a

Please sign in to comment.