forked from quii/learn-go-with-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.43 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
34
35
36
37
38
39
40
41
42
43
dist: bionic
language: go
go:
- 1.14.x
before_install:
- go get github.com/quii/learn-go-with-tests/command-line/v1
install: true
services:
- docker
stages:
- build
- spelling
- epub
jobs:
include:
- stage: build
script:
- go get -u golang.org/x/lint/golint
- "./build.sh"
- stage: spelling
script:
- go get -u github.com/client9/misspell/cmd/misspell
- misspell -error .
- stage: releases
script:
- docker pull jagregory/pandoc
- "./build.books.sh"
deploy:
provider: releases
api_key:
secure: q58oofLU1tCcO618axSmlc3eOf6f/QtP/XORtn0o7z/1O6AENlWAIn0RYetHEp0JNYQfS4sqgy34gAy2H6BpZURaHc1muW0fhwRndBjrbU5DviflOc9lH8pLzDZpzhKdBiCMoZpDs+Gp27PmZn62vHSZkiR3EMdrJFoDV8/fUCy4UYs/U3/QiG/Qv/DnKM0GI5LfNWGtD0dzbe1z4qVEfUXk44CnxEJZoaSEx6e0zrP9QHreUGpADB4syzgSW/Q8RwmyZIWPZrmmBu8qzrmpJtcjNaUllx4VAIB86U5fZaUIEoAodGf7+3Ut8K5oI+eBo5HkAYShwrzXRs6gQWp8nwEWyxzEvLwf4949llnC0ez6qvSf7prXJKK2Rmvid7xZt51eMglBDatAFaprmdM4AZeWibUpVP2QbzYAqpkd8SZazmjYzRJPeduNzGoOOsHuqIWdmKHthQEMZXiXSDy4HWP9A085/+i45pK6jf1Bfu2XbCW+Yh3d1uTUCSStPMgVOLbTL8YGaKpnpO6TAo0/vAEiO4//lZeodx/w7s8zTDPVPpb9hDFbcwQfWZarPTzVQuUKrVagFlLooTpzJ2sU7I7Q45O6vvDvhZzj2gM+/gXtbS8CKwUNEOsJubprGksW5254vMRayTUVXXeHcrAIMcCdW0D9+YbXifmJvcc1LYk=
file:
- "learn-go-with-tests.epub"
# - "learn-go-with-tests.pdf"
skip_cleanup: true
on:
tags: true