forked from SforAiDl/genrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (35 loc) · 1.01 KB
/
.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
language: python
python:
- "3.6"
install:
- python setup.py install
- pip install codecov
- pip install pytest-cov
jobs:
include:
# Deploy Documentation
- stage: Docs
python: "3.6"
if: type != cron
# Use previously defined before_install
install:
- pip install -r docs/requirements.txt
script:
- make clean -C docs/ html
after_success: # Nothing to do
# Deploy built docs : a) when PR is merged to master, b) when a tag is built
deploy:
- provider: pages
edge: true
token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: false
local_dir: docs/build/html
on:
branch: master
- provider: pages
edge: true
token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: false
local_dir: docs/build/html
on:
tags: true