Created
August 8, 2014 20:51
-
-
Save jayvdb/a60f66b97376450bb0e0 to your computer and use it in GitHub Desktop.
pywikibot-core travis user-config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
family = os.environ.get('FAMILY', 'wikipedia') | |
mylang = os.environ.get('LANGUAGE', 'en') | |
if os.environ.get('TRAVIS_REPO_SLUG', None) == 'wikimedia/pywikibot-core': | |
usernames[family][mylang] = 'Pywikibot-test' | |
usernames['wikipedia']['en'] = 'Pywikibot-test' | |
password_file = os.path.expanduser('~/.pywikibot/passwordfile') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment