Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #2246
Status: Broken
Duration: 17 minutes and 10 seconds
Commit: 2e53a85 (master)
Author: Fabian Neundorf
Message: [FEAT] tests: Automatic site attributes
The SiteAttributeTestCase class automatically sets the attributes of
each site instance according to the sites defined (similar to how TestCase
itself set 'cls.site' if only one site is defined).
Change-Id: Ib680dd7cb0ccfd6b9a8b05991e64294da22d0e83
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/b79c049831cb...2e53a85d…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/63493882
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: Use apt addon instead of sudo
......................................................................
Use apt addon instead of sudo
sudo prevents the build from occurring in a container.
Change-Id: I2df97b7ae996c6816d427ac835b81ebeecfc1c65
---
M .travis.yml
1 file changed, 6 insertions(+), 4 deletions(-)
Approvals:
John Vandenberg: Looks good to me, but someone else must approve
XZise: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml
index fb4a1ab..998878d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,8 @@
# See tests/README.rst for instructions for using travis with developer builds.
language: python
+sudo: false
+
python:
- '2.7'
- '3.3'
@@ -12,12 +14,12 @@
- linux
- osx
-before_install:
- - if [[ "$PYSETUP_TEST_EXTRAS" == "1" ]]; then sudo apt-get update -qq; fi
- - if [[ "$PYSETUP_TEST_EXTRAS" == "1" ]]; then sudo apt-get install -y liblua5.1-dev; fi
+addons:
+ apt:
+ packages:
+ - liblua5.1-0-dev
install:
-
- if [[ "$SITE_ONLY" == '1' ]]; then export USE_NOSE=1; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2==0.8.0; fi
- pip install six
--
To view, visit https://gerrit.wikimedia.org/r/212546
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2df97b7ae996c6816d427ac835b81ebeecfc1c65
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: jenkins-bot <>
Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #2245
Status: Fixed
Duration: 8 minutes and 15 seconds
Commit: b79c049 (master)
Author: Mpaa
Message: Remove lonely reNamespace from page.py
Only occurrence of this variable in the library.
$ git grep reNamespace
pywikibot/page.py:68:reNamespace = re.compile("^(.+?) *: *(.*)$")
Change-Id: Ifee61a713b9b1fadc54607167b4f8655781e4749
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/83fb251d4acb...b79c0498…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/63407741
--
You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: Remove lonely reNamespace from page.py
......................................................................
Remove lonely reNamespace from page.py
Only occurrence of this variable in the library.
$ git grep reNamespace
pywikibot/page.py:68:reNamespace = re.compile("^(.+?) *: *(.*)$")
Change-Id: Ifee61a713b9b1fadc54607167b4f8655781e4749
---
M pywikibot/page.py
1 file changed, 0 insertions(+), 3 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
Ricordisamoa: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py
index 587e991..3f9c93a 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -64,9 +64,6 @@
logger = logging.getLogger("pywiki.wiki.page")
-# Pre-compile re expressions
-reNamespace = re.compile("^(.+?) *: *(.*)$")
-
# Note: Link objects (defined later on) represent a wiki-page's title, while
# Page objects (defined here) represent the page itself, including its contents.
--
To view, visit https://gerrit.wikimedia.org/r/212463
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifee61a713b9b1fadc54607167b4f8655781e4749
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>