diff options
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..5b0e517 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,33 @@ +# Configure. +environment: + PYTHON: Python35 + matrix: + - TOX_ENV: lint + - TOX_ENV: py35 + - TOX_ENV: py34 + - TOX_ENV: py33 + - TOX_ENV: py27 + - TOX_ENV: py + PYTHON: Python35-x64 + - TOX_ENV: py + PYTHON: Python34-x64 + - TOX_ENV: py + PYTHON: Python33-x64 + - TOX_ENV: py + PYTHON: Python27-x64 + +# Run. +init: set PATH=C:\%PYTHON%;C:\%PYTHON%\Scripts;%PATH% +install: + - appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1 + - ps: .\enable-desktop +build_script: pip install tox +test_script: tox -e %TOX_ENV% +on_success: IF %TOX_ENV% NEQ lint pip install codecov & codecov + +# Post. +# on_finish: https://github.com/Robpol86/terminaltables/issues/30 + #- appveyor PushArtifact test_ascii_table.png https://github.com/Robpol86/terminaltables/issues/30 + #- appveyor PushArtifact test_double_table.png https://github.com/Robpol86/terminaltables/issues/30 + #- appveyor PushArtifact test_single_table.png https://github.com/Robpol86/terminaltables/issues/30 + #- appveyor PushArtifact test_terminal_io.png https://github.com/Robpol86/terminaltables/issues/30 |