aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2016-02-19 16:27:57 -0500
committerPaul Ganssle <paul@ganssle.io>2016-02-20 08:32:15 -0500
commitf86795308351d103a64e7e3901f56b997e64d1cd (patch)
treec82c21d9cd04cd577341a4c872a8a293bf9e099b /appveyor.yml
parent1ef2235b4583bd93b136cdee28755d5c2ec02a78 (diff)
downloaddateutil-f86795308351d103a64e7e3901f56b997e64d1cd.tar.gz
Added code coverage on appveyor and Travis.
Cleaned up appveyor script so the scripts it needs are in its PATH. Added codecov badge to README.me.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml18
1 files changed, 13 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 3a0ffab..6573ec7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -10,13 +10,21 @@ environment:
- PYTHON: "C:/Python35"
- PYTHON: "C:/Python35-x64"
install:
- - ps: Start-FileDownload 'https://bootstrap.pypa.io/get-pip.py'
- - "%PYTHON%/python.exe get-pip.py"
- - "%PYTHON%/Scripts/pip.exe install six"
- # use postgres' zic
+ # Add PostgreSQL (zic), Python and scripts directory to current path
- set path=c:\Program Files\PostgreSQL\9.3\bin\;%PATH%
+ - set path=%PATH%;%PYTHON%;%PYTHON%/Scripts
+
+ # Download scripts and dependencies
+ - ps: Start-FileDownload 'https://bootstrap.pypa.io/get-pip.py'
+ - "python get-pip.py"
+ - "pip install six"
+ - "pip install coverage"
+ - "pip install codecov"
+
# This frequently fails with network errors, so we'll retry it up to 5 times
# with a 1 minute rate limit.
- "ci_tools/retry.bat %PYTHON%/python.exe updatezinfo.py"
test_script:
- - "%PYTHON%/python.exe setup.py test"
+ - "coverage run --omit=setup.py,dateutil/test/* setup.py test"
+after_test:
+ - "codecov"