-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
68 lines (50 loc) · 1.65 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# CI on Windows via appveyor
# This file was based on Olivier Grisel's python-appveyor-demo
environment:
matrix:
# a sampling of
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
IS_CONDA: "false"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
IS_CONDA: "true"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
IS_CONDA: "false"
install:
- ps: ./bin/install_python.ps1
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
## Print python-version and architecture for debugging .
#
- |
python --version
python -c "import struct; print(struct.calcsize('P') * 8)"
- pip --disable-pip-version-check install -e .[dev]
# - "python setup.py develop" ## NO, pip installed in "develop' mode, above.
- python setup.py build
- pip install -e .[test]
build: false
test_script:
- ps: |
echo "+++ Checking README for PyPy...."
./bin/check_readme.ps1
- |
echo "+++ Checking site...."
python setup.py build_sphinx
- |
echo "+++ Checking archives for PyPI repo..."
python setup.py sdist bdist_wheel
- pytest
- |
echo "+++ Checking install...."
python setup.py install
## Needs repo-token and this would be different per user.
#on_success:
# - IF "%PYTHON_VERSION%"=="3.7" (coveralls)