-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (40 loc) · 1.26 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
language: python
python:
- "3.6"
install:
- sudo apt-get update
- sudo apt install dvipng
- git clone https://github.com/pbelmans/plastex.git
- cd plastex
- git checkout gerby
- pip install .
- cd ..
- git clone https://github.com/stacks/stacks-project.git
- git clone https://github.com/live-clones/pybtex.git
- wget https://bitbucket.org/pybtex-devs/pybtex/issues/attachments/110/pybtex-devs/pybtex/1514284299.07/110/no-protected-in-math-mode.patch
- cd pybtex
- git apply ../no-protected-in-math-mode.patch
- pip install .
- cd ..
- git clone https://github.com/pbelmans/gerby-website.git
- cd gerby-website/gerby/static
- git clone https://github.com/sonoisa/XyJax.git
- sed -i -e 's@\[MathJax\]@/static/XyJax@' XyJax/extensions/TeX/xypic.js
- git clone https://github.com/aexmachina/jquery-bonsai
- cp jquery-bonsai/jquery.bonsai.css css/
- cd ../..
- pip install .
- cd ..
script:
- mkdir WEB
- cd stacks-project
- echo yes | python2 scripts/add_tags.py
- make web
- cd ../WEB
- plastex --renderer=Gerby book.tex
- cd ..
- cd gerby-website/gerby/tools
- ln -s ../../../WEB/book stacks
- ln -s ../../../WEB/book.paux stacks.paux
- ln -s ../../../WEB/tags stacks.tags
- python update.py --noSearch --noTagStats