diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-02-22 11:00:17 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-02-23 10:41:46 +0000 |
commit | 8a4ec493c0736d38aba204fa455036b4160494de (patch) | |
tree | a73e9088485a722fed17683bd69df3494efcae2f /.travis.yml | |
parent | 4d970754a4a700ba45409e11275b89e6523d87ce (diff) | |
download | deluge-8a4ec493c0736d38aba204fa455036b4160494de.tar.gz deluge-8a4ec493c0736d38aba204fa455036b4160494de.tar.bz2 deluge-8a4ec493c0736d38aba204fa455036b4160494de.zip |
[CI/CD] Add Travis windows build
* Added APPDATA to tox passenv so it is available to common module.
* Fixed windows path issue in httpdownloader tests
* Skipped torrentmanager test due to the following error from loading a
Linux pickled state file with a different line ending.
ModuleNotFoundError: No module named 'deluge.core.torrentmanager\r'
* Removed appveyor build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index ac4c79b1c..dd4a8f36e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,17 @@ jobs: env: TOX_ENV=gtkui - name: Plugins unit tests env: TOX_ENV=plugins + - name: Windows Unit tests + os: windows + language: shell + before_install: + - choco install python --version 3.6.8 + - python --version + - python -m pip install --upgrade pip + - python -m pip install deluge-libtorrent + env: + - PATH=/c/Python36:/c/Python36/Scripts:$PATH + - TOX_ENV=py3 addons: apt: |