Skip to content

Commit

Permalink
TRAVIS_COMMIT_RANGE isn't set on non-PRs (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerjou authored and Jon Wayne Parrott committed May 16, 2016
1 parent 4767150 commit 9fe2db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_changed_files():
# This is not a pull request.
changed = subprocess.check_output(
['git', 'show', '--pretty=format:', '--name-only',
os.environ.get('TRAVIS_COMMIT_RANGE')])
os.environ.get('TRAVIS_COMMIT')])
elif pr is not None:
changed = subprocess.check_output(
['git', 'diff', '--name-only',
Expand Down

0 comments on commit 9fe2db6

Please sign in to comment.