-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
41 lines (32 loc) · 1019 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
32
33
34
35
36
37
38
39
40
dist: trusty # 2014 Ubuntu, whoooo!
sudo: required # Necesary for installing LaTeX packages
language: python
python: "3.5"
install:
- sudo apt-get update -qq # No dependencies?
- pip install mypy
script:
- mypy --package persimmon
after_success: # Build binaries and documentation
- cd docs # Time to do documentation
- sudo apt-get install -y --no-install-recommends pandoc pandoc-citeproc texlive-base texlive-latex-base texlive-generic-recommended texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils texlive-latex-recommended texlive-latex-extra texlive-xetex lmodern pgf texlive-science
- make travis
- cd ..
# Run tests on master & dev
branches:
only:
- master
- dev
# Only deploy on master
deploy:
provider: releases
api_key: "$GH_TOKEN"
file: docs/persimmon.pdf
skip_cleanup: true
overwrite: true
prerelease: true
on:
branch:
- master
notifications:
email: false # Stop bothering me