version: "{build}"
build: off
deploy: off
skip_commits:
    # add [appveyor skip] as an alias for [skip appveyor] (like [ci skip])
    message: /\[appveyor skip\]/

environment:
    # Undocumented feature of nose-show-skipped.
    NOSE_SHOW_SKIPPED: 1

    matrix:
        - PYTHON: C:\Python27
          TOX_ENV: py27-test
        - PYTHON: C:\Python35
          TOX_ENV: py35-test
        - PYTHON: C:\Python36
          TOX_ENV: py36-test

# Install Tox for running tests.
install:
    - cinst imagemagick -y
    # TODO: remove --allow-empty-checksums when unrar offers a proper checksum
    - cinst unrar -y --allow-empty-checksums
    - '%PYTHON%/Scripts/pip.exe install "tox<=3.8.1"'
    - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV% --notest"

test_script:
    - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV%"

version: "{build}"
build: off
deploy: off
skip_commits:
    # add [appveyor skip] as an alias for [skip appveyor] (like [ci skip])
    message: /\[appveyor skip\]/

environment:
    # Undocumented feature of nose-show-skipped.
    NOSE_SHOW_SKIPPED: 1

    matrix:
        - PYTHON: C:\Python27
          TOX_ENV: py27-test
        - PYTHON: C:\Python35
          TOX_ENV: py35-test
        - PYTHON: C:\Python36
          TOX_ENV: py36-test
        - PYTHON: C:\Python37
          TOX_ENV: py37-test

# Install Tox for running tests.
install:
    - cinst imagemagick -y
    # TODO: remove --allow-empty-checksums when unrar offers a proper checksum
    - cinst unrar -y --allow-empty-checksums
    - '%PYTHON%/Scripts/pip.exe install "tox<=3.8.1"'
    - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV% --notest"

test_script:
    - "%PYTHON%/Scripts/tox.exe -e %TOX_ENV%"

Test on Python 3.7 on AppVeyor
Test on Python 3.7 on AppVeyor
