jayvdb added a comment. There is a pull request <https://github.com/travis-ci/travis-build/pull/426> to quote some or all env vars.
Somewhat related is T106204: Add 'user' tests to Appveyor builds <https://phabricator.wikimedia.org/T106204>, as it will also have various quoting issues. A more resilient approach (esp. for cross platform) would be to fetch the environment variables using Python. That avoids quoting issues with any shell/cmd, and would allow our code to more easily detect env vars using "...'..." and '..."...' as we can strip the quotes if they appear at start and end of the value. These variables could be accessed either by: - a specialised script called only in `.travis.yml` - `generate_user_files.py` - `pywikibot/login.py` The last option would provide a way to provide a user / password so that a user-config.py is not necessary to use the library (https://gerrit.wikimedia.org/r/#/c/181582/) TASK DETAIL https://phabricator.wikimedia.org/T105783 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, jayvdb Cc: jayvdb, gerritbot, Aklapper, pywikibot-bugs-list, XZise, Krenair, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
