Skip to content

Commit

Permalink
Merge pull request #3982 from ccordoba12/more-av-fixes
Browse files Browse the repository at this point in the history
PR: More fixes for Appveyor
  • Loading branch information
ccordoba12 authored Jan 18, 2017
2 parents 41196df + 0d1c040 commit f1fc758
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

environment:
matrix:
- PYTHON: "C:\\Python35_64"
PYTHON_VERSION: "3.5"
- PYTHON: "C:\\Python27_64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
USE_QT_API: "PyQt5"

- PYTHON: "C:\\Python27_64"
PYTHON_VERSION: "2.7"
- PYTHON: "C:\\Python35_64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
USE_QT_API: "PyQt5"

Expand Down
12 changes: 1 addition & 11 deletions continuous_integration/appveyor/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,9 @@ function InstallPipPackages ($python_home, $spec) {
}


function UpdateConda ($python_home) {
$conda_path = $python_home + "\Scripts\conda.exe"
Write-Host "Updating conda..."
$args = "update --yes conda"
Write-Host $conda_path $args
Start-Process -FilePath "$conda_path" -ArgumentList $args -Wait -Passthru
}


function main () {
InstallMiniconda $env:PYTHON_VERSION $env:PYTHON_ARCH $env:PYTHON
UpdateConda $env:PYTHON
InstallCondaPackages $env:PYTHON "conda-build=2.1.0 pytest pytest-cov mock"
InstallCondaPackages $env:PYTHON "conda=4.2.* conda-build=2.0.0 pytest pytest-cov mock"
InstallPipPackages $env:PYTHON "pytest-qt"
}

Expand Down
11 changes: 3 additions & 8 deletions continuous_integration/appveyor/modules_test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,16 @@ for /r "%SPYDER%" %%f in (*.py) do (
) else if not "!file:utils\help=!"=="!file!" (
echo --- NOT testing %%f ---
echo.
) else if not "!file:utils\introspection=!"=="!file!" (
echo --- NOT testing %%f ---
echo.
) else if "%%f"=="%SPYDER%\utils\bsdsocket.py" (
echo --- NOT testing %%f ---
echo.
) else if "%%f"=="%spyder%\utils\inputhooks.py" (
:: It can't be tested outside of a Python console
echo --- NOT testing %%f ---
echo.
) else if "%%f"=="%SPYDER%\utils\introspection\module_completion.py" (
:: This is failing randomly
echo --- NOT testing %%f ---
echo.
) else if "%%f"=="%SPYDER%\utils\introspection\plugin_client.py" (
:: We have to investigate this failure!
echo --- NOT testing %%f ---
echo.
) else if "%%f"=="%SPYDER%\widgets\editor.py" (
:: This is making AppVeyor to time out!
echo --- NOT testing %%f ---
Expand Down
3 changes: 3 additions & 0 deletions continuous_integration/appveyor/run_test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set EXTRA_PACKAGES=pandas sympy pillow
mkdir C:\projects\tmp
cd C:\projects\tmp

:: Don't auto-update conda
conda config --set auto_update_conda False

:: Install the package we created
conda install -q -y --use-local spyder-dev

Expand Down

0 comments on commit f1fc758

Please sign in to comment.