-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
31 lines (30 loc) · 997 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
language: bash
sudo: required
dist: trusty
before_install:
- curl -L https://github.com/HPDell/travis-texlive/releases/download/2018-11-30_02/texlive.tar.xz | tar -JxC ~
- PATH=$HOME/texlive/bin/x86_64-linux:$PATH
- wget https://github.com/alif-type/xits/releases/download/v1.200/XITS-1.200.zip -O XITS.zip
- unzip XITS.zip
- sudo mkdir -p /usr/share/fonts/opentype/
- sudo mv ./XITS-1.200/XITS*.otf /usr/share/fonts/opentype/
- sudo mkfontscale
- sudo mkfontdir
- sudo fc-cache -fv
- sudo pip install Pygments
branches:
only:
- /^v[\d.]+\d$/
script:
- xelatex -synctex=1 -interaction=nonstopmode -shell-escape MathematicalStatistics.tex
- xelatex -synctex=1 -interaction=nonstopmode -shell-escape MathematicalStatistics.tex
- xelatex -synctex=1 -interaction=nonstopmode -shell-escape MathematicalStatistics.tex
deploy:
provider: releases
api_key:
secure: $GITHUB_TOKEN
file:
- MathematicalStatistics.pdf
skip_cleanup: true
on:
tags: true