-
Notifications
You must be signed in to change notification settings - Fork 112
/
.travis.yml
40 lines (33 loc) · 967 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
33
34
35
36
37
38
39
40
dist: focal
# Only build (and deploy) on travis for tags.
# Use GitHub actions for other CI.
if: tag IS present
language: ruby
git:
depth: 200
rvm:
- 2.7.1
before_install:
- sudo apt-get install -y libpango1.0-dev ghostscript fonts-lyx jing libavalon-framework-java libbatik-java python3-pyparsing
- gem install asciidoctor -v 2.0.16
- gem install coderay -v 1.1.1
- gem install rouge -v 3.19.0
- gem install ttfunk -v 1.5.1
- gem install hexapdf -v 0.27.0
- gem install asciidoctor-pdf -v 1.5.0
- gem install asciidoctor-mathematical -v 0.3.5
- pip install pyparsing
script:
- git describe --tags --dirty
- make -C xml validate
- python3 makeSpec -clean -spec core OUTDIR=out.core -j 5 api c env ext cxx4opencl
- python3 makeSpec -clean -spec khr OUTDIR=out.khr -j 12 html manhtmlpages
deploy:
provider: releases
api_key: $GH_TOKEN
file_glob: true
file: out.*/pdf/*
skip_cleanup: true
on:
tags: true
edge: true