jenkins-bot has submitted this change and it was merged.
Change subject: Fix bash [[ ]] syntax in .travis.yml
......................................................................
Fix bash [[ ]] syntax in .travis.yml
Change-Id: Ia65b7083ba759a433cdd61644f1e9f7f65ef8679
---
M .travis.yml
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml
index b9f03b0..dadb0ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,12 +29,12 @@
- if [[ "$GITHUB_USER" == "wikimedia" ]]; then
PYWIKIBOT2_USERNAME="Pywikibot-test"; fi
- - if [[ -n "$USER_PASSWORD" -a -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['$FAMILY']['$LANGUAGE'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
- - if [[ -n "$USER_PASSWORD" -a -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikipedia']['en'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
- - if [[ -n "$USER_PASSWORD" -a -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikipedia']['test'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
- - if [[ -n "$USER_PASSWORD" -a -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikidata']['test'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
+ - if [[ -n "$USER_PASSWORD" && -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['$FAMILY']['$LANGUAGE'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
+ - if [[ -n "$USER_PASSWORD" && -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikipedia']['en'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
+ - if [[ -n "$USER_PASSWORD" && -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikipedia']['test'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
+ - if [[ -n "$USER_PASSWORD" && -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"usernames['wikidata']['test'] = '$PYWIKIBOT2_USERNAME'" >>
~/.pywikibot/user-config.py; fi
- - if [[ -n "$USER_PASSWORD" -a -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"('$PYWIKIBOT2_USERNAME', '$USER_PASSWORD')" > ~/.pywikibot/passwordfile; fi
+ - if [[ -n "$USER_PASSWORD" && -n "$PYWIKIBOT2_USERNAME" ]]; then echo
"('$PYWIKIBOT2_USERNAME', '$USER_PASSWORD')" > ~/.pywikibot/passwordfile; fi
- cd externals/httplib2
- python setup.py install
--
To view, visit https://gerrit.wikimedia.org/r/172099
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia65b7083ba759a433cdd61644f1e9f7f65ef8679
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits