forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (32 loc) · 1.33 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# see: https://www.appveyor.com/docs/build-environment/#build-vm-configurations
# for details on the AppVeyor build VM configurations
environment:
global:
PYTHON: "C:\\conda"
MINICONDA_FILENAME: "Miniconda3-latest-Windows-x86_64.exe"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON_VERSION: "3.5"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON_VERSION: "3.6"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON_VERSION: "3.7"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PYTHON_VERSION: "3.7"
# SCS is a required solver, and it has no 32 bit distribution
# on conda; cvxpy's AppVeyor tests will only use 64 bit Windows.
platform:
- x64
# The install phase is contained in two PowerShell scripts.
install:
- "powershell continuous_integration\\AppVeyor\\download_and_install_miniconda.ps1"
- "powershell continuous_integration\\AppVeyor\\configure_conda_and_install_cvxpy.ps1"
# Not a .NET project, we build CVXPY in the install step instead.
build: false
# The test phase uses Windows CMD commands (not PowerShell).
test_script:
- "conda activate testenv"
- "conda env list"
- "nosetests cvxpy"
deploy_script:
- "powershell continuous_integration\\AppVeyor\\deploy_windows.ps1"