-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
32 lines (27 loc) · 675 Bytes
/
.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
language: python
sudo: false
dist: xenial
addons:
apt:
packages:
- python-pip
- xsltproc
env:
global:
- GOPATH="${TRAVIS_BUILD_DIR}/.go_workspace"
- mmark_src=github.com/miekg/mmark/mmark
- mmark=./mmark
install:
- pip install xml2rfc
- if head -1 -q *.md | grep '^\-\-\-' >/dev/null 2>&1; then gem install --no-doc kramdown-rfc2629; fi
- if head -1 -q *.md | grep '^%%%' >/dev/null 2>&1; then go get "$mmark_src" && go build "$mmark_src"; fi
script:
- make
- make issues || make issues DISABLE_ISSUE_FETCH=true && make gh-issues
- make gh-pages
deploy:
provider: script
script: make upload
skip_cleanup: true
on:
tags: true