forked from kcjengr/probe_basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (42 loc) · 993 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
41
42
43
44
45
46
47
48
49
50
language: python
python: "2.7"
install:
- pip install sphinx sphinx_rtd_theme mock
- pip install --upgrade setuptools
- pip install qtpyvcp --no-deps
- sudo apt-get install pyqt5-dev-tools
script:
- sphinx-build -Wv docs/source docs/html
deploy:
# publish docs on push
- provider: pages
skip_cleanup: true
keep-history: false
github_token: $GH_TOKEN
local_dir: docs/html
on:
branch: master
# publish docs on new release
- provider: pages
skip_cleanup: true
keep-history: false
github_token: $GH_TOKEN
local_dir: docs/html
on:
tags: true
# publish release to GitHub
- provider: script
script: bash .travis/do_release.sh
skip_cleanup: true
on:
tags: true
notifications:
irc:
channels:
- "chat.freenode.net#hazzy"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Diff view : %{compare_url}"
- "Build details : %{build_url}"
on_success: change
on_failure: always