Skip to content

Commit

Permalink
Merge 5a15867 into d79baa4
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Jun 24, 2015
2 parents d79baa4 + 5a15867 commit 6415a34
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
11 changes: 11 additions & 0 deletions appveyor-install.cmd
@@ -0,0 +1,11 @@
"%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
pip install --cache-dir c:/egg_cache cython

rem install mayavi
python setup.py develop
9 changes: 9 additions & 0 deletions appveyor-test.cmd
@@ -0,0 +1,9 @@
"%sdkverpath%" -q -version:"%sdkver%"
call setenv /x64

mkdir testrun
copy .coveragerc testrun
cd testrun
coverage run -m nose.core -v traits --exe
if %errorlevel% neq 0 exit /b %errorlevel%
coverage report
32 changes: 32 additions & 0 deletions appveyor.yml
@@ -0,0 +1,32 @@
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:
- cmd /v:on /e:on /c ".\appveyor-test.cmd"

0 comments on commit 6415a34

Please sign in to comment.