-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.19 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
44
45
46
47
48
jobs:
include:
- name: "Go"
language: go
env:
- GO111MODULE=on
script: go test -v ./go/...
- name: "Specifications"
language: python
sudo: false
dist: trusty
python:
- "2.7"
addons:
apt:
packages:
- python-pip
- xsltproc
env:
global:
- GOPATH="${TRAVIS_BUILD_DIR}/.go_workspace"
- mmark_src=github.com/miekg/mmark/mmark
- mmark=./mmark
install:
- git clone --depth=1 https://github.com/tabatkins/bikeshed.git
- pip install --editable bikeshed
- bikeshed update
- pip install xml2rfc!=2.15.0
- 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:
- bikeshed --die-on=warning spec loading.bs
- 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