forked from yt-project/yt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (28 loc) · 1.06 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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
environment:
global:
PYTHON: "C:\\Miniconda3-x64"
matrix:
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "2.7"
platform:
-x64
install:
- "if not exist \"%userprofile%\\.config\\yt\" mkdir %userprofile%\\.config\\yt"
- "echo [yt] > %userprofile%\\.config\\yt\\ytrc"
- "echo suppressStreamLogging = True >> %userprofile%\\.config\\yt\\ytrc"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Install the build and runtime dependencies of the project.
# Create a conda environment
- "conda create -q --yes -n test python=%PYTHON_VERSION%"
- "activate test"
# Check that we have the expected version of Python
- "python --version"
# Install specified version of numpy and dependencies
- "conda install -q --yes -c conda-forge numpy scipy nose setuptools ipython Cython sympy fastcache h5py matplotlib flake8 mock"
- "pip install -e ."
# Not a .NET project
build: false
test_script:
- "nosetests --nologcapture -sv yt"