summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorÉtienne BERSAC <etienne.bersac@dalibo.com>2017-04-27 16:13:53 +0200
committerÉtienne BERSAC <etienne.bersac@dalibo.com>2017-04-27 16:17:37 +0200
commit6fd98a5de89b1044801926c64442871a35c7bb46 (patch)
tree63970932601652dc0784d156f73a0ea17dafcbb1 /.travis.yml
parenta56ff81b19fb112f5559a6fa56f7d9293450ed8a (diff)
Check changelog.rst markup
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6fea7685..d4528e8b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ python:
- "3.6"
install:
- - pip install . pytest mock codecov==1.5.1 behave pexpect==3.3
+ - pip install . docutils pytest mock codecov==1.5.1 behave pexpect==3.3
- pip install git+https://github.com/hayd/pep8radius.git
script:
@@ -16,6 +16,8 @@ script:
- cd tests
- behave
- cd ..
+ # check for changelog ReST compliance
+ - rst2html.py --halt=warning changelog.rst >/dev/null
# check for pep8 errors, only looking at branch vs master. If there are errors, show diff and return an error code.
- pep8radius master --docformatter --error-status || ( pep8radius master --docformatter --diff; false )
- set +e