Skip to content

Commit

Permalink
Merge a2f870e into d79baa4
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Jun 24, 2015
2 parents d79baa4 + a2f870e commit ac92167
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions appveyor-install.cmd
@@ -0,0 +1,10 @@
"%sdkverpath%" -q -version:"%sdkver%"
call setenv /x64

rem install python packages
pip install --cache-dir c:/egg_cache nose
pip install --cache-dir c:/egg_cache coverage
pip install --cache-dir c:/egg_cache numpy

rem install mayavi
python setup.py develop
36 changes: 36 additions & 0 deletions appveyor.yml
@@ -0,0 +1,36 @@
build: false
shallow_clone: true
environment:

global:
distutils_use_sdk: 1

matrix:
- python: "C:/Python27-x64"
sdkver: "v7.0"

- python: "C:/Python33-x64"
sdkver: "v7.1"

- python: "C:/Python34-x64"
sdkver: "v7.1"

cache:
- c:\egg_cache

init:
- ps: $Env:sdkbin = "C:\Program Files\Microsoft SDKs\Windows\" + $Env:sdkver + "\Bin"
- ps: $Env:sdkverpath = "C:/Program Files/Microsoft SDKs/Windows/" + $Env:sdkver + "/Setup/WindowsSdkVer.exe"
- ps: $Env:path = $Env:python + ";" + $Env:python + "\scripts;" + $Env:sdkbin + ";" + $Env:path
install:
- ps: if ((Test-Path "c:/egg_cache") -eq 0) { mkdir c:/egg_cache }
- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'c:/get-pip.py')
- ps: python c:/get-pip.py
- ps: pip --version
- cmd /v:on /e:on /c ".\appveyor-install.cmd"
test_script:
- mkdir testrun
- copy .coveragerc testrun
- cd testrun
- coverage run -m nose.core -v traits --exe
- coverage report

0 comments on commit ac92167

Please sign in to comment.