-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
33 lines (26 loc) · 939 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
# {# pkglts, appveyor
# Config file for automatic testing on appveyor
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script interpreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C"
matrix:
- CONDA: "C:\\Miniconda3-x64\\Scripts"
install:
- "%CONDA%\\conda config --set always_yes yes --set changeps1 no"
# useful for debugging any issues with conda
- "%CONDA%\\conda info -a"
# create environment
- "%CONDA%\\conda create -n ci python=3.11"
- "%CONDA%\\activate ci"
build: false
build_script:
# install dependencies
- "%CONDA%\\conda install -c conda-forge coverage coveralls flake8 jinja2 pytest pytest-cov pytest-mock requests semver sphinx sphinx-rtd-theme tox twine unidecode url-normalize"
# install package
- pip install .
# test
- pytest
# #}