forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (36 loc) · 1.64 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
39
40
# Attempts to install ECOS in Python 2.7 and Python 3.3 on both 64- and
# 32-bit Windows.
environment:
PYVER: 2.7
#matrix:
# - platform: x64
# PYVER: 2.7
# CONDA_URL: http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Windows-x86_64.exe
# - platform: x64
# PYVER: 3.3
# CONDA_URL: http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Windows-x86_64.exe
# - platform: x86
# PYVER: 2.7
# CONDA_URL: http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Windows-x86.exe
# - platform: x86
# PYVER: 3.3
# CONDA_URL: http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Windows-x86.exe
platform:
- x64
install:
#- ps: (new-object net.webclient).DownloadFile($env:CONDA_URL, 'C:\miniconda.exe')
#- C:\msvc2008.exe /passive /norestart /Log "C:\install.log"
#- ps: msiexec /i C:\msvc2008.exe /quiet /qn /norestart /log install.log
- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py')
- python C:\get-pip.py
- C:\Python34\Scripts\pip.exe install conda
- C:\Python34\Scripts\conda.exe init
- C:\Python34\Scripts\conda.exe create -n testenv --yes --quiet python=%PYVER% numpy scipy nose pip
- C:\Python34\envs\testenv\Scripts\activate.exe
# - C:\Python34\Scripts\pip.exe install ecos
- C:\Python34\envs\testenv\Scripts\pip.exe install ecos
# - C:\Python34\envs\testenv\Scripts\pip.exe install scs
build_script:
- C:\Python34\envs\testenv\python.exe setup.py install
test_script:
- C:\Python34\envs\testenv\Scripts\nosetests.exe cvxpy/tests