jenkins-bot has submitted this change and it was merged.
Change subject: Multiple travis builds for different sites ......................................................................
Multiple travis builds for different sites
In addition to the current English Wikipedia build, also build against test.wikidata and ar.wikipedia.
Change-Id: Ibabd20ac28738171d156d09bd5cb6b81f5da4f43 --- M .travis.yml 1 file changed, 8 insertions(+), 2 deletions(-)
Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml index 9a89d86..e77c45b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,13 +4,19 @@ - '2.6' - '2.7'
+env: + - LANG=en FAMILY=wikipedia + - LANG=ar FAMILY=wikipedia + - LANG=test FAMILY=wikidata + install: - mkdir ~/.pywikibot
- touch ~/.pywikibot/user-config.py - echo "import os" >> ~/.pywikibot/user-config.py - - echo "mylang = 'en'" >> ~/.pywikibot/user-config.py - - echo "family = 'wikipedia'" >> ~/.pywikibot/user-config.py + - echo "mylang = '$LANG'" >> ~/.pywikibot/user-config.py + - echo "family = '$FAMILY'" >> ~/.pywikibot/user-config.py + - echo "usernames['$FAMILY']['$LANG'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py - echo "usernames['wikipedia']['en'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py - echo "password_file = os.path.expanduser('~/.pywikibot/passwordfile')" >> ~/.pywikibot/user-config.py
pywikibot-commits@lists.wikimedia.org