-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (34 loc) · 2.14 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
# 2015-07-23 14:05 CAUTION: This file is automatically generated from appveyor.yml.tpl, do not edit it manually
version: 0.0.1.{build}
# Tell appveyor to not use msbuild
build: false
environment:
matrix:
- PYTHON: 2.7
- PYTHON: 3.3
- PYTHON: 3.4
platform:
- x86
- x64
init:
- "ECHO %PYTHON%"
- ps: if($env:PYTHON -eq "2.7" -and $env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:PYTHON -eq "2.7" -and $env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:PYTHON -eq "3.3" -and $env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:PYTHON -eq "3.3" -and $env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:PYTHON -eq "3.4" -and $env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:PYTHON -eq "3.4" -and $env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
- cmd: C:\Miniconda.exe /S /D=C:\Miniconda
#- cmd: C:\Miniconda\Scripts\activate.bat root
- cmd: SET PATH=C:\Miniconda3\Scripts;C:\Miniconda\Scripts;%PATH%
# We need to do this first as other commands may not work with older versions of conda.
- cmd: conda update -yq conda
- cmd: conda install -yq conda-env conda-build binstar binstar-build jinja2
- cmd: conda create -yq -n condaenv python=%PYTHON%
install:
- cmd: activate condaenv
- cmd: conda install -yq unxutils numpy scipy matplotlib pandas blaze pip pyyaml nose sphinx jinja2
- cmd: pip install coolprop texttable brewer2mpl future coveralls nose-cov codecov tox
- cmd: python setup.py install
test_script:
- cmd: nosetests --with-coverage --cover-package=jopy --logging-level=INFO