forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (32 loc) · 1.23 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
# see: https://www.appveyor.com/docs/build-environment/#build-vm-configurations
# for details on the AppVeyor build VM configurations
environment:
global:
PYTHON: "C:\\conda"
ENV_NAME: "testenv"
MINICONDA_FILENAME: "Miniconda2-latest-Windows-x86_64.exe"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
PYTHON_VERSION: "2.7"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON_VERSION: "2.7"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON_VERSION: "3.5"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PYTHON_VERSION: "3.5"
# 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 a PowerShell script.
install:
- "powershell continuous_integration\\appveyor_install.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:
- "PATH %PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "echo %PATH%"
- "activate %ENV_NAME%"
- "conda env list"
- "nosetests cvxpy"