1build: false 2environment: 3 matrix: 4 - PYTHON_VERSION: 27 5 - PYTHON_VERSION: 33 6 - PYTHON_VERSION: 34 7 - PYTHON_VERSION: 35 8 - PYTHON_VERSION: 36 9platform: 10 - x64 11 - x86 12 13matrix: 14 fast_finish: true 15 exclude: 16 - platform: x86 17 PYTHON_VERSION: 33 18 - platform: x86 19 PYTHON_VERSION: 34 20 - platform: x86 21 PYTHON_VERSION: 35 22 23install: 24 # set env variables 25 - set TOXENV=py%PYTHON_VERSION% 26 - if %PLATFORM% == "X64" (set PYTHON_PATH=C:\Python%PYTHON_VERSION%-x64) ELSE (set PYTHON_PATH=C:\Python%PYTHON_VERSION%) 27 28 # Add PostgreSQL (zic), Python and scripts directory to current path 29 - set PATH=%PYTHON_PATH%;c:\Program Files\PostgreSQL\9.3\bin\;%PATH% 30 - set PYTHON=%PYTHON_PATH%/python.exe 31 - "%PYTHON% -c \"import sys; print(sys.executable, sys.version)\"" 32 33 # This frequently fails with network errors, so we'll retry it up to 5 times 34 # with a 1 minute rate limit. 35 - "%PYTHON% -m pip install six" 36 - "ci_tools/retry.bat %PYTHON% updatezinfo.py" 37 # This environment variable tells the test suite it's OK to mess with the time zone. 38 - set DATEUTIL_MAY_CHANGE_TZ=1 39 - C:\Python36\python -m pip install -U tox 40 41test_script: 42 - C:\Python36\scripts\tox 43 44after_test: 45 - C:\Python36\scripts\tox -e coverage,codecov 46