forked from pypr/pysph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (24 loc) · 997 Bytes
/
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
build: false
platform: x64
environment:
distutils_use_sdk: 1
sdkver: "v7.0"
cache:
- C:\Users\appveyor\.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 = "C:\Enthought\edm;" + $Env:sdkbin + ";" + $Env:path
install:
# Install edm, needed so we can quickly install numpy.
- ps: Start-FileDownload "https://package-data.enthought.com/edm/win_x86_64/1.6/edm_1.6.1_x86_64.msi"
- start /wait msiexec /a edm_1.6.1_x86_64.msi /qn /log install.log TARGETDIR=c:\
- edm info
- edm install -y numpy cython pytest mock h5py
# Install pysph related dependencies.
- edm run -- pip install -r requirements.txt -r requirements-test.txt
# Build pysph.
- edm run -- python setup.py develop
test_script:
# Run the tests.
- edm run -- python -m pytest -v -m "not slow or slow" --junit-xml=pytest.xml