image:
    - Visual Studio 2017
environment:
    matrix:
        - PYTHON: "C:\\Python27"
        - PYTHON: "C:\\Python35"
        - PYTHON: "C:\\Python36"
        - PYTHON: "C:\\Python27-x64"
        - PYTHON: "C:\\Python35-x64"
        - PYTHON: "C:\\Python36-x64"
install:
    - "%PYTHON%\\python.exe -m pip install --upgrade setuptools pip"
    - "%PYTHON%\\python.exe -m pip install --upgrade virtualenv"
    - "%PYTHON%\\python.exe -m pip --version"
    - "%PYTHON%\\python.exe -m virtualenv --version"
    - "git.exe --version"
    - "%PYTHON%\\python.exe -m pip install --upgrade flake8 pylint codecov"
    - "%PYTHON%\\python.exe -m pip install --upgrade pytest-flake8 pytest-pylint pytest-cov"
    - "%PYTHON%\\python.exe -m pip install -r requirements.txt"
build: off
test_script:
    - "%PYTHON%\\python.exe -m pytest"
on_success:
    - "%PYTHON%\\python.exe -m codecov -X gcov"
skip_branch_with_pr: true

image:
    - Visual Studio 2017
environment:
    matrix:
        - PYTHON: "C:\\Python27"
        - PYTHON: "C:\\Python35"
        - PYTHON: "C:\\Python36"
        - PYTHON: "C:\\Python27-x64"
        - PYTHON: "C:\\Python35-x64"
        - PYTHON: "C:\\Python36-x64"
install:
    - "%PYTHON%\\python.exe -m pip install --upgrade setuptools pip"
    - "%PYTHON%\\python.exe -m pip install --upgrade virtualenv"
    - "%PYTHON%\\python.exe -m pip --version"
    - "%PYTHON%\\python.exe -m virtualenv --version"
    - "git.exe --version"
    - "%PYTHON%\\python.exe -m pip install --upgrade flake8 pylint codecov"
    - "%PYTHON%\\python.exe -m pip install --upgrade pytest-flake8 pytest-pylint pytest-cov"
    - "%PYTHON%\\python.exe -m pip install -r requirements.txt"
    - "choco install codecov"
build: off
test_script:
    - "%PYTHON%\\python.exe -m pytest --cov-report xml"
on_success:
    - "codecov -f coverage.xml"
skip_branch_with_pr: true

Fix code coverage not working properly for Python 2.7 64-bit and 3.
Fix code coverage not working properly for Python 2.7 64-bit and 3.
