Skip to content
Permalink
Browse files
Show diff on Travis in check_doc_changes
  • Loading branch information
The-Compiler committed Jul 4, 2017
1 parent 397ca47 commit f92ccd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
@@ -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)
@@ -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.