Skip to content

Commit 311535e

Browse files
committed
cleanup stages
1 parent 66a2fac commit 311535e

File tree

1 file changed

+13
-23
lines changed

1 file changed

+13
-23
lines changed

.travis.yml

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ python:
55
- "3.5"
66
- "3.6"
77

8-
stages:
9-
- test
10-
- build
11-
- deploy
8+
#stages:
9+
# - test
10+
# - build
11+
# - deploy
1212

1313
env:
1414
- PYTHONPATH=$PYTHONPATH:./src
@@ -21,26 +21,16 @@ script:
2121

2222
jobs:
2323
include:
24-
- stage: build
24+
- stage: deploy documentation
2525
python: 3.6
2626
install: pip install sphinx
2727
script: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
28-
29-
30-
deploy:
31-
provider: pages
32-
skip_cleanup: true
33-
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
34-
keep_history: true
35-
local_dir: ./doc/_build/html
36-
on:
37-
branch: master
38-
before_deploy:
39-
python: 3.6
40-
install: pip install sphinx
41-
script: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
42-
script: ls -la ./doc
43-
script: ls -la ./doc/_build
44-
script: ls -la ./doc/_build/html
45-
28+
deploy:
29+
provider: pages
30+
skip_cleanup: true
31+
github_token: $GITHUB_TOKEN
32+
keep_history: true
33+
local_dir: ./doc/_build/html
34+
on:
35+
branch: master
4636

0 commit comments

Comments
 (0)