-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 870 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
language: generic
before_install:
- sudo apt-get install texlive-binaries
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- if ! command -v conda > /dev/null; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; bash miniconda.sh -b -p $HOME/miniconda -u; conda config --add
channels conda-forge; conda config --set always_yes yes; conda install tectonic==0.1.11;
fi
- conda install -c malramsay biber==2.11 --yes
- conda info -a
cache:
directories:
- "$HOME/miniconda"
- "$HOME/.cache/Tectonic"
script:
- cd ./
- tectonic --keep-intermediates --reruns 0 ./sample-sigconf.tex
- if [ -f "sample-sigconf.bcf" ]; then biber sample-sigconf; fi
- tectonic ./sample-sigconf.tex --print
deploy:
provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file: "./sample-sigconf.pdf"
on:
branch: master