Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
fixup! Rename DOC to AUTODOC
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Jan 6, 2017
1 parent 363d9fd commit 22786e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion travis/travis_after_tests_success
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (os.environ.get('TESTS', '1') == '1' and
except:
pass

if os.environ.get('DOC') == '1':
if os.environ.get('AUTODOC') == '1':
odoo_version = os.environ.get("VERSION")
status += subprocess.call(['travis-sphinx',
'--branch=%s' % odoo_version,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions travis/travis_run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if __name__ == '__main__':
is_oca_project = os.environ.get('TRAVIS_REPO_SLUG', '').startswith('OCA/')
is_oca_transifex_user = os.environ.get('TRANSIFEX_USER') == \
'[email protected]'
doc_enabled = os.environ.get('DOC') == '1'
doc_enabled = os.environ.get('AUTODOC') == '1'

# TRAVIS_PULL_REQUEST contains the pull request number or 'false'
is_pull_request = os.environ.get('TRAVIS_PULL_REQUEST') != 'false'
Expand All @@ -81,7 +81,7 @@ if __name__ == '__main__':
tests.append(['travis_transifex.py'])

if doc_enabled:
tests.append(['travis_doc_build'])
tests.append(['travis_autodoc_build'])

if tests:
exit(main(tests))

0 comments on commit 22786e3

Please sign in to comment.