-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (44 loc) · 870 Bytes
/
.travis.yml
File metadata and controls
44 lines (44 loc) · 870 Bytes
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
language: python
sudo: false
python:
- "2.7"
cache:
- pip
- apt
matrix:
fast_finish: true
addons:
apt:
packages:
# - pdflatex
# - giflib-tools
- texlive-lang-other
- texlive-latex-recommended
- texlive-fonts-recommended
- texlive-latex-extra
# Pisah tiap build environment
env:
- BUILD=html
# - BUILD=dirhtml
- BUILD=singlehtml
# - BUILD=htmlhelp
- BUILD=epub
- BUILD=latex
# - BUILD=latexpdf # Disable dulu, masih error
# Install semua dependensi
install:
- pip install --upgrade pip
- pip install -q -r requirements.txt
- easy_install cilexer
# Build the things
script:
- make $BUILD
# Buanglah sampah pada tempatnya
after_script:
- export GH_REPO_REV=`git rev-parse --short HEAD`
- if [[ $GH_REPO_TOKEN != '' ]]; then make publish; fi
- make clean
branches:
only:
- master
- /^contrib\/.+$/