-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
35 lines (28 loc) · 995 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
environment:
matrix:
# Pre-installed Python versions
# See: https://www.appveyor.com/docs/windows-images-software/#python
# Note: Right now, only 3.7 is used since other versions are ignored by
# Pipenv.
- PYTHON: C:\Python37-x64
init:
- ps: $env:PATH = "$env:PYTHON;" + $env:PATH
- ps: $PYTHON_SITE_SCRIPTS = Join-Path -Path $(Split-Path -Path $(python -m site --user-site) -Parent) -ChildPath Scripts
- ps: $PYTHON_SYSTEM_SCRIPTS = Join-Path -Path $env:PYTHON -ChildPath Scripts
- ps: $env:PATH = "$PYTHON_SITE_SCRIPTS;$PYTHON_SYSTEM_SCRIPTS;" + $env:PATH
# Debug info
- 'echo "Python directory: %PYTHON%"'
- 'echo "PATH: %PATH%"'
- python --version
- pip --version
install:
- pip install --user pipenv
- pipenv install --dev
build: false
test_script:
# Automated tests
- pipenv run pytest tests/
# Test build
- pipenv run python setup.py sdist bdist_wheel
# Test doc generation
- pipenv run sphinx-build docs/source/ docs/build/