Skip to content

Commit

Permalink
another try and not building dynamic docs on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Jun 21, 2015
1 parent 5093888 commit 5fc7ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/build_generated_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def build_docs():
Trigger rebuild of all documentation that is dynamically generated
from awslimitchecker.
"""
if os.environ.get('CI', None) is not None:
if (os.environ.get('CI', None) == 'true' or
os.environ.get('TRAVIS', None) is not None):
print("Not building dynamic docs in CI environment")
raise SystemExit(0)
logger.info("Beginning build of dynamically-generated docs")
Expand Down

0 comments on commit 5fc7ddf

Please sign in to comment.