jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/510719 )
Change subject: [tests] Update Travis tests configuration ......................................................................
[tests] Update Travis tests configuration
- Move all tests and sources to Ubuntu Xenial - all tested Python versions are supported - Xenial is going to be the default environment in a week - Remove sudo handling as it is not needed anymore - Move Python 3.7 to the matrix - No need to specify env in allow failures
Change-Id: Ib9448ee58f4949512b098c78a3299b823c8c8234 --- M .travis.yml 1 file changed, 3 insertions(+), 15 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml index 44298db..2005c01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,21 +2,20 @@
language: python
-sudo: false - python: - '2.7' - '3.4' - '3.5' - '3.6' + - '3.7'
# OSX builds do not yet support Python os: linux
+dist: xenial # required for Python >= 3.7 + addons: apt: - sources: - - lucid packages: - libssl1.0.0 - djvulibre-bin @@ -131,8 +130,6 @@ include: - python: '2.7_with_system_site_packages' env: LANGUAGE=nb FAMILY=wikipedia PYSETUP_TEST_EXTRAS=1 PYWIKIBOT_TEST_NO_RC=1 - dist: xenial - sudo: required addons: apt: packages: @@ -155,19 +152,10 @@ env: LANGUAGE=ar FAMILY=wiktionary PYWIKIBOT_TEST_NO_RC=1 - python: '3.6' env: LANGUAGE=wikidata FAMILY=wikidata PYWIKIBOT_SITE_ONLY=1 - - python: '3.7' - env: LANGUAGE=de FAMILY=wikipedia - dist: xenial - sudo: required - python: '3.8-dev' env: LANGUAGE=test FAMILY=wikipedia PYWIKIBOT_SITE_ONLY=1 - dist: xenial - sudo: required allow_failures: - python: '3.8-dev' - env: LANGUAGE=test FAMILY=wikipedia PYWIKIBOT_SITE_ONLY=1 - dist: xenial - sudo: required
notifications: email:
pywikibot-commits@lists.wikimedia.org