forked from pandoc/lua-filters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (54 loc) · 1.45 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
49
50
51
52
53
54
55
56
57
58
59
60
# Use new container infrastructure to enable caching
sudo: false
# Older Ubuntu versions use Lua 5.1 for luarocks, while 20.04
# (focal) uses Lua 5.3.
dist: focal
# Do not choose a language; we provide our own build tools.
language: minimal
addons:
apt:
packages:
- aspell
- aspell-fr
- aspell-en
- imagemagick
- default-jre
- graphviz
- inkscape
- python3
- python3-pip
- python3-tk
- python3-numpy
- python3-matplotlib
- python-is-python3
- lilypond
- lmodern
- texlive-bibtex-extra
- texlive-fonts-recommended
- texlive-latex-recommended
- texlive-latex-extra
- texlive-pictures
- texlive-plain-generic
- texlive-xetex
before_install:
- unset CC
# Download and unpack the pandoc binary
- |
pushd $HOME
RELEASES_URL='https://github.com/jgm/pandoc/releases'
export PANDOCVERSION=$(curl --silent -I "$RELEASES_URL/latest" | sed -ne 's#[Ll]ocation:.*tag/\(.*\)$#\1#p' | tr -d "\n\r")
echo $PANDOCVERSION
travis_retry wget $RELEASES_URL/download/$PANDOCVERSION/pandoc-$PANDOCVERSION-linux-amd64.tar.gz
tar xvzf pandoc-$PANDOCVERSION-linux-amd64.tar.gz
popd
# Download plantuml.jar for plantuml filter
- |
pushd $HOME
travis_retry wget http://sourceforge.net/projects/plantuml/files/plantuml.jar
popd
- export PATH=$HOME/pandoc-$PANDOCVERSION/bin:$PATH
- export PLANTUML=$HOME/plantuml.jar
install: []
script:
- |
make test