jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/424768 )

Change subject: Cleanup .appveyor.yml file
......................................................................

Cleanup .appveyor.yml file

We currently do not need python-appveyor-demo files for appveyor
builds. The installer has bugs. Remove it (and related lines).
If required, it might be easier to write our own Python installer
in the future than to debug these ones.

Bug: T191188
Change-Id: I89cc9e72260ca5a4d9854b756ece6b0585d5ecc7
---
M .appveyor.yml
1 file changed, 1 insertion(+), 15 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.appveyor.yml b/.appveyor.yml
index 2755449..d50e536 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -2,12 +2,6 @@
 environment:

   global:
-    APPVEYOR_PYTHON_URL: 
"https://raw.githubusercontent.com/ogrisel/python-appveyor-demo/master/appveyor/";
-
-    # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
-    # /E:ON and /V:ON options are not enabled in the batch script intepreter
-    # See: http://stackoverflow.com/a/13751649/163740
-    CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"

     PYWIKIBOT2_DIR: "%appdata%\\Pywikibot"
     PYWIKIBOT2_USER_CONFIG: "%appdata%\\Pywikibot\\user-config.py"
@@ -73,14 +67,6 @@

 install:
   - git submodule update --init
-  # Download the Appveyor Python build accessories into subdirectory .\appveyor
-  - mkdir appveyor
-  - ps: $wc = new-object net.webclient
-  - ps: $run = $wc.DownloadString($env:APPVEYOR_PYTHON_URL + 
'run_with_env.cmd')
-  - ps: $run | Out-File -Encoding ascii -FilePath appveyor\run_with_env.cmd
-
-  # This is needed for Python versions not installed on Appveyor build machines
-  - ps: if (-not(Test-Path($env:PYTHON))) { iex 
$wc.DownloadString($env:APPVEYOR_PYTHON_URL + 'install.ps1') }
   - pip install virtualenv
   - virtualenv env
   - env\Scripts\activate.bat
@@ -98,7 +84,7 @@
   - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT2_USER_CONFIG, 'max_retries = 
2; maximum_GET_length = 5000; transliteration_target = None;')"

   - set PYSETUP_TEST_NO_UI=1
-  - "%CMD_IN_ENV% coverage run setup.py test"
+  - coverage run setup.py test

 on_failure:
   - codecov

--
To view, visit https://gerrit.wikimedia.org/r/424768
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I89cc9e72260ca5a4d9854b756ece6b0585d5ecc7
Gerrit-Change-Number: 424768
Gerrit-PatchSet: 1
Gerrit-Owner: Dalba <dalba.w...@gmail.com>
Gerrit-Reviewer: Dalba <dalba.w...@gmail.com>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to