Permalink
Browse files

Show diff on Travis in check_doc_changes

  • Loading branch information...
The-Compiler committed Jul 4, 2017
1 parent 397ca47 commit f92ccd48936882fbbf069b518769a7d0f07cbc66
Showing with 6 additions and 1 deletion.
  1. +5 −0 scripts/dev/check_doc_changes.py
  2. +1 −1 tox.ini
@@ -39,4 +39,9 @@
print()
print('(Or you have uncommitted changes, in which case you can ignore '
'this.)')
if 'TRAVIS' in os.environ:
print()
print("travis_fold:start:gitdiff")
subprocess.call(['git', '--no-pager', 'diff'])
print("travis_fold:end:gitdiff")
sys.exit(code)
View
@@ -230,7 +230,7 @@ commands =
[testenv:docs]
basepython = python3
whitelist_externals = git
passenv = TRAVIS_PULL_REQUEST
passenv = TRAVIS TRAVIS_PULL_REQUEST
deps =
-r{toxinidir}/requirements.txt
commands =

0 comments on commit f92ccd4

Please sign in to comment.