-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
.appveyor.yml
45 lines (36 loc) · 1.02 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
39
40
41
42
43
44
45
platform:
- x64
branches:
only:
- main
environment:
matrix:
- PYVER: 38
- PYVER: 37
- PYVER: 36
install:
# If there is a newer build queued for the same PR, cancel this one.
- cmd: >
.gen_ci_support\\ff_ci_pr_build.py -v
--ci "appveyor"
"%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%"
"%APPVEYOR_BUILD_NUMBER%"
"%APPVEYOR_PULL_REQUEST_NUMBER%"
# Install Miniconda.
- cmd: call .appveyor_support\\install_miniconda.bat
# Create the test environment.
- cmd: set "CONDA_ENV_TYPE=tst_py%PYVER%"
- cmd: call .appveyor_support\\create_env.bat
# Install the package and dependencies.
- cmd: pip install -e .
# Skip .NET project specific build phase.
build: off
# Run tests and measure test coverage.
test_script:
- cmd: coverage erase
- cmd: coverage run --source . setup.py test
- cmd: coverage report -m
on_success:
- cmd: set "CONDA_ENV_TYPE=dpl"
- cmd: .appveyor_support\\create_env.bat
- cmd: coveralls || exit 0