-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
77 lines (76 loc) · 3.3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
dist: trusty
sudo: required
language: c
addons:
apt:
packages:
- pandoc
- pandoc-citeproc
- aspell
- aspell-en
- inkscape
- texlive-latex-base
- texlive-latex-extra
- texlive-fonts-recommended
- texlive-font-utils
- texlive-fonts-extra
- texlive-latex-recommended
- fonts-lmodern
- lmodern
- python
before_install:
- sudo pip install pandoc-fignos pandoc-tablenos
# install:
# - git clone https://github.com/tomduck/pandoc-fignos
# - cd pandoc-fignos
# - python setup.py install
before_script:
- cd images ; bash convert-images.sh
script:
# - aspell -d en_GB -p .aspell.en.pws check D2.3-UF.md
# This checks how many spelling errors were found
- cd $TRAVIS_BUILD_DIR
- ls
- ERRORS=`cat D2.3-UF.md | aspell -d en_GB -p .aspell.en.pws -a -c |grep -v \* |uniq|grep -v "International Ispell Version" | wc -l`
- echo "Found $ERRORS errors"
- >
pandoc -S --filter pandoc-fignos
--filter pandoc-tablenos
--variable mainfont="Lato"
--variable sansfont="Lato"
--variable monofont="Roboto"
--variable fontsize=12pt
--variable version=1.17.2
--reference-odt="deliverable-template.ott"
--number-sections
--toc
--from markdown+implicit_figures+table_captions+pipe_tables+footnotes+inline_notes
D2.3-UF.md -o D2.3-UF.odt
- >
pandoc -S --filter pandoc-fignos
--filter pandoc-tablenos
--variable mainfont="Lato"
--variable sansfont="Lato"
--variable monofont="Roboto"
--variable fontsize=12pt
--variable version=1.17.2
--number-sections
--toc
--from markdown+implicit_figures+table_captions+pipe_tables+footnotes+inline_notes
D2.3-UF.md -o D2.3-UF.pdf
after_success:
notifications:
slack:
secure: SGRSdR90NTthc13ZOh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sPpmk8gyd1KlHqWU5GeMQln+hYXTJGZao+8F6ipjps46f8SO59SHx0BLgeO8ELu2IVNhT3usJHlXeNsrCEmiCuisq2qIR+rFajZ0kr6b2w9Ew6+3EoEZRdAjKXtWLiHgNxXXCi86AIw4MwvpltZYYLrQw2nFnm2O38u1LIkak/sj5bEXSZ0zOC9FGqOlUv55WIcLwRRHiuqjzvXXcbtpbFSEqCHtgUaeo+8FEE/yr56xLrky4b7ITvGBgTM7rZnAcnljg9brfuuU/eV9PTHCRG9tbxlklu7P9iEh6M6vik1ptoU65bCb5hA=
file:
- "D2.3-UF.odt"
- "D2.3-UF.pdf"
on:
repo: sci-gaia/D2.3UserForum
tags: true