forked from einsteinpy/einsteinpy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
39 lines (29 loc) · 809 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
33
34
35
36
37
38
39
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# File shamelessly inspired by Astropy
version: 0.5.dev0-{build}
environment:
global:
MPLBACKEND: "Agg"
branches:
only:
- main
- 0.1.x
- 0.2.x
- 0.3.x
- 0.4.x
matrix:
fast_finish: true
install:
- "set PYTHON_BIN=C:\\Python38-x64\\python.exe"
- "set PIP_BIN=C:\\Python38-x64\\Scripts\\pip.exe"
# Check that we have the expected version of Python
- "%PYTHON_BIN% --version"
# Install dependencies
- "choco install pandoc"
- "%PYTHON_BIN% -m pip install -U pip --quiet"
- "%PIP_BIN% install numpy --quiet"
- "%PIP_BIN% install .[dev] --quiet" # Test installation correctness
build: off
test_script:
- "%PYTHON_BIN% -m pytest -vv" # Test against installed code