jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/662940 )
Change subject: [tests] use an empty requirements.txt if PYSETUP_TEST_EXTRAS != 1 ...................................................................... [tests] use an empty requirements.txt if PYSETUP_TEST_EXTRAS != 1 Change-Id: I83a0afb9d7bd194e2d23f3e90a77d23af2587a67 --- M .travis.yml 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/.travis.yml b/.travis.yml index 61b2dc5..9d6aa1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,9 @@ # default 'install' step to install all dependencies listed in # requirements.txt to verify that a minimal install works as expected. # Instead install requests in the before_script step below. - - if [[ "$PYSETUP_TEST_EXTRAS" != '1' ]]; then rm requirements.txt ; fi + - if [[ "$PYSETUP_TEST_EXTRAS" != '1' ]]; then + printf "# Empty requirements with PYSETUP_TEST_EXTRA" > requirements.txt ; + fi # When the env variable USE_NOSE or USE_PYTEST is set, the appropriate # tool is used, else PYTEST is taken as the default -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/662940 To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I83a0afb9d7bd194e2d23f3e90a77d23af2587a67 Gerrit-Change-Number: 662940 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged
_______________________________________________ Pywikibot-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits
