forked from dateutil/dateutil
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
38 lines (32 loc) · 1.17 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
build: false
environment:
matrix:
- PYTHON_VERSION: 34
platform:
- x64
- x86
matrix:
fast_finish: true
exclude:
- platform: x86
PYTHON_VERSION: 34
install:
# set env variables
- set TOXENV=py%PYTHON_VERSION%
- if %PLATFORM% == "X64" (set PYTHON_PATH=C:\Python%PYTHON_VERSION%-x64) ELSE (set PYTHON_PATH=C:\Python%PYTHON_VERSION%)
# Add PostgreSQL (zic), Python and scripts directory to current path
- set PATH=%PYTHON_PATH%;c:\Program Files\PostgreSQL\9.3\bin\;%PATH%
- set PYTHON=%PYTHON_PATH%/python.exe
- "%PYTHON% -c \"import sys; print(sys.executable, sys.version)\""
# This frequently fails with network errors, so we'll retry it up to 5 times
# with a 1 minute rate limit.
- "%PYTHON% -m pip install six"
- "ci_tools/retry.bat %PYTHON% updatezinfo.py"
# This environment variable tells the test suite it's OK to mess with the time zone.
- set DATEUTIL_MAY_CHANGE_TZ=1
- C:\Python36\python -m pip install -U tox virtualenv==20.4.7
test_script:
- C:\Python36\scripts\tox
after_test:
# Uploading coverage on Python 3.4 on Windows is not worth the effort.
- if NOT %PYTHON_VERSION% == 34 (C:\Python36\scripts\tox -e coverage,codecov)