forked from PurdueCAM2Project/SE4ML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 904 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
sudo: false
language: python
addons:
apt:
packages:
- latex-xcolor
- texlive-base
- texlive-latex-base
- texlive-latex-recommended
- texlive-fonts-recommended
- texlive-fonts-extra
- texlive-latex-extra
- texlive-formats-extra
- texlive-bibtex-extra
- texlive-humanities
- texinfo
- texlive-science
- latexmk
script:
- pip install -r requirements.txt
- BOOK_VERSION=$(./get-current-version.sh) travis-sphinx build -s source
- BOOK_VERSION=$(./get-current-version.sh) make latexpdf
- make epub
after_success:
- travis-sphinx deploy --cname se4ml.org
before_deploy:
- cd $TRAVIS_BUILD_DIR
deploy:
provider: releases
api_key: $GH_TOKEN
file_glob: true
file:
- ./**/SoftwareEngineeringforMachineLearning.pdf
- ./**/SoftwareEngineeringforMachineLearning.epub
skip_cleanup: true
on:
repo: PurdueCAM2Project/SE4ML
tags: true