This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.appveyor.yml
61 lines (47 loc) · 1.6 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
# CI on Windows via appveyor
# This file was based on Olivier Grisel's python-appveyor-demo
environment:
matrix:
# a sampling of
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
IS_CONDA: "true"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
IS_CONDA: "false"
# matrix:
# allow_failures:
# - PYTHON_VERSION: 3.8
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 install -e .[test]
# pip fails to install `pydot `from graphtik's extras (report to https://github.com/pypa/pip#988)
- pip install graphtik[sphinx]
# - "python setup.py develop" ## NO, pip installed in "develop' mode, above.
- python setup.py build
- ps: ./Notebooks/recreate_ipynbs.sh
build: false
test_script:
# To create `pyalgo.h5` file.
- pytest -m slow --h5-write
- pytest
- |
echo "+++ Checking archives for PyPI repo..."
python setup.py sdist bdist_wheel
- |
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)