mirror of https://github.com/silx-kit/pyFAI.git
upgrade appveyor ro test python 3.5 and 3.6
This commit is contained in:
parent
8afd8dc398
commit
16db262df5
|
@ -34,19 +34,20 @@ environment:
|
|||
PYTHON_ARCH: "64"
|
||||
BUILD_ARGS: ""
|
||||
|
||||
# Python 3.4
|
||||
- PYTHON_DIR: "C:\\Python34-x64"
|
||||
PYTHON_VERSION: "3.4.3"
|
||||
PYTHON_ARCH: "64"
|
||||
# OpenMP is not available on python 3.4
|
||||
BUILD_ARGS: "--no-openmp"
|
||||
|
||||
# Python 3.5
|
||||
- PYTHON_DIR: "C:\\Python35-x64"
|
||||
PYTHON_VERSION: "3.5.0"
|
||||
PYTHON_ARCH: "64"
|
||||
BUILD_ARGS: ""
|
||||
|
||||
# Python 3.6
|
||||
- PYTHON_DIR: "C:\\Python36-x64"
|
||||
#PYTHON_VERSION: "3.4.3"
|
||||
PYTHON_ARCH: "64"
|
||||
# OpenMP is not available on python 3.4
|
||||
#BUILD_ARGS: "--no-openmp"
|
||||
|
||||
|
||||
install:
|
||||
# Add Python to PATH
|
||||
- "SET PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%PATH%"
|
||||
|
@ -66,15 +67,16 @@ build_script:
|
|||
|
||||
# Configure MSVC environment
|
||||
# Python 3.3 x64 and Python 3.4 x64 need a special configuration
|
||||
- ps: >-
|
||||
If (($env:PYTHON_ARCH -eq "64") -And (($env:PYTHON_VERSION -Like "3.3.*") -Or ($env:PYTHON_VERSION -Like "3.4.*"))) {
|
||||
& "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd" /x64
|
||||
}
|
||||
#- ps: >-
|
||||
# If (($env:PYTHON_ARCH -eq "64") -And (($env:PYTHON_VERSION -Like "3.3.*") -Or ($env:PYTHON_VERSION -Like "3.4.*"))) {
|
||||
# & "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd" /x64
|
||||
# }
|
||||
|
||||
# Install build dependencies
|
||||
- "pip install --upgrade wheel"
|
||||
- "pip install --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ numpy cython --upgrade"
|
||||
- "pip install --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ pyparsing scipy --upgrade"
|
||||
- "pip install silx"
|
||||
- "pip install --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ -r ci/requirements_appveyor.txt --upgrade"
|
||||
|
||||
# Print Python info
|
||||
|
|
Loading…
Reference in New Issue