-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
40 lines (34 loc) · 1006 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
sudo: false # Use docker containers rather than VMs -> faster
language: python
python:
- "3.8"
- "3.9"
install:
- sudo apt-get update -qq
- sudo apt-get install texlive texlive-latex-extra
- pip install -r requirements.txt -r doc/requirements_doc.txt
- pip install .
script:
- make test
- make doc
- touch doc/_build/html/.nojekyll # Deactivate Jekyll on GitHub Pages
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b238f1b4f26967edf138 # Gitter channel
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
deploy:
project-name: reda
provider: pages
skip-cleanup: true
github-token: $GITHUB_API_KEY
keep-history: true
local-dir: doc/_build/html
committer-from-gh: true
name: Reda Travis
verbose: true
on:
branch: master
condition: $TRAVIS_PYTHON_VERSION = "3.9"