-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
52 lines (49 loc) · 1.66 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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
notifications:
email: false
git:
depth: 99999999
jobs:
allow_failures:
- julia: nightly
include:
- stage: deploy-site
julia: 1
os: linux
dist: focal
if: type != pull_request
script:
- wget https://github.com/MorbZ/OpenSansEmoji/raw/master/OpenSansEmoji.ttf
- wget https://github.com/cormullion/juliamono/raw/master/JuliaMono-Regular.ttf
- wget https://github.com/cormullion/juliamono/blob/master/JuliaMono-Bold.ttf
- wget https://github.com/cormullion/juliamono/raw/master/JuliaMono-RegularLatin.ttf
- wget https://github.com/cormullion/juliamono/raw/master/JuliaMono-BoldLatin.ttf
- ls -l
- gem install asciidoctor asciidoctor-pdf asciidoctor-mathematical
- gem install pygmentize
- julia --project -e 'using Pkg; pkg"build"'
- mkdir -p book/build
- julia --project=book -e 'using Pkg; pkg"dev ."; pkg"instantiate"'
- julia --project=book -e 'cd("book"); include("make.jl")' build images html
- julia --project=book -e 'cd("book"); include("make.jl")' pdf
- julia --project=book deploy.jl
addons:
apt_packages:
- texlive-luatex
- pdf2svg
- lmodern
- fonts-dejavu
- ttf-ubuntu-font-family
- texlive-xetex
- texlive-latex-extra
- fonts-noto-color-emoji
- bison
- flex
- libffi-dev
- libxml2-dev
- libgdk-pixbuf2.0-dev
- libcairo2-dev
- libpango1.0-dev
- fonts-lyx
- cmake