-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
33 lines (28 loc) · 1.4 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: go
go: 1.13.x
jobs:
include:
- stage: Test
script:
- $(exit $(go fmt ./... | wc -l))
- make test-coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
- stage: Release
if: tag =~ ^v
script:
- GOOS=linux GOARCH=amd64 NAME=linux EXT="" make zip
- GOOS=darwin GOARCH=amd64 NAME=macos EXT="" make zip
- GOOS=windows GOARCH=amd64 NAME=windows EXT=".exe" make zip
deploy:
provider: releases
api_key:
secure: j1woYgRSru2tvqeVDXFJsWSkZi/am7a/+/tuM8j61G28hZ/tz6AKvFHqjbCl/vRIp6Yx3B+wieCKNxyH25iTKIhTL3y6p8RATaABdrZXnVlZDw+4svkkA1dAyTkueST4S2jtVxLeCca4FVIXd2NCnau3kzBWG+TzRvWo6mc592vFA3POv1VBD9eYYEwnwR0vmU4VzWjHaPex+ENua08PGKhOIO4trGg/AtsJvQl8W50ecanrL7h+tFRQUSkZvTT0RHJEGpvFPd101Kl+hI+h2y1Sdoo94OdAhzoDu59yaVxBiz/ScOOxWjpIAkgix5AkwKk5JXKONrP+eFSe+BgjIU9LiH2El9fyubKRq0/QrUNnaIF/+eCDznGE+G99/qkZkrfBwHlqNzktdQnLriqT1Of3wnja5jVOrOypzkdeza943oAOrDI/ShwL6mWShjjCJ3Qio7C+ljJkSdEQjhgzlqhioVigMZdX7KGEDPn/VtoV8snL6ckj3rLXKBno8UQmDZp0xH1sFNOliO/6Id2XgwcSV6WWYdOm3s1foK6kJrUwBeJ2JMvXVxJGQHl6bc9AOxLPTy2puUCOjgenNRSkaNBXJtEtMDpzspYBQpJ0+lhyCOw+tVYTbXat7hAo3kAoTgv26Qo/VQF9soe2iXChsltMlFBYyZKb0wVjTRWUxm8=
skip_cleanup: true
file:
- gedcom-linux.zip
- gedcom-macos.zip
- gedcom-windows.zip
on:
repo: elliotchance/gedcom
all_branches: true