git-bug/.travis.yml

46 lines
1.3 KiB
YAML

matrix:
include:
- language: go
go: 1.12.x
- language: go
go: 1.13.x
- language: go
go: 1.14.x
- language: node_js
node_js: node
before_install:
- cd webui
after_success: []
- language: node_js
node_js: lts/*
before_install:
- cd webui
after_success: []
env:
GO111MODULE=on
install:
- make install
script:
- make test
before_install:
- go get github.com/mitchellh/gox
after_success:
- if [ ! -z "$TRAVIS_TAG" ]; then make releases; fi
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: fLW37YkuY7KhVGpS6kgAAZPxgnePkLJG6AhWArOdVjgF0LMpps3PdvmfLkt+UUwjN0B+7l5NZSNU6c7F7R9AtJG5sfI7glFYxhQj3SdDr3rJCM1jqiJoCpkMGNHaJXsuGN1T/fWyfhHkhhyucbPv0d16llOsw98h7dIR1tCEFqMbfyA2G0182uKlOgZ/cjQGTRvU2hFgRpVHWCPcZkG+d0anLyCHtECXAwVQO5cijwNa4a7BEvIIYKRK6/j/GTrn9SqTisww3n1wxaItmEL91HbR6oqKrU9lUCJ6dTI/3JszKfLxrxGSSmwgtxa2tccV8AfmiqMXk4dISsHWwMthFzCp+I0htbdm5d1hbx9Jfq+5zJjV5Vka5ewfpWwSMOKkZpsEspjSy7iQPLk8IvkDq8t7NQ8kU2j5Z//nEEFa1Rym+sWsKhzas6fs09hv5V9p5iCU0bCnrncavhD6u1NN6FaYlZtBz8a0p2SyOrgW2Yglg37IKsZPW805e+6L7L515+jQ5OkdbrGsHr9ko3YG0OX1UkMfJ7ntQXfNeADHP90TmML8t7t+O8pNFFRiQUDPO0rbytXwneQoE/Jhdmj10Rhqi/OEm5A5uV5smItc7eg2OE6lBWYOeIQyGpQrh6eTx9cO+osX0o5ROMr4IVhJ0e/rRuR+PCm/2f8JUzHAfsk=
file_glob: true
file: dist/**/*
on:
repo: MichaelMure/git-bug
go: 1.13.x
tags: true