diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-08 17:23:09 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-08 21:31:49 +0100 |
commit | 957cd5dd9c82ddc75d3bb5626057cbee7b059c2c (patch) | |
tree | fdbf0663b4ed92552d7d67c018bc831aee958082 /.travis.yml | |
parent | 25087d3f2d321b63e46d59e5076df899bfcdf518 (diff) | |
download | deluge-957cd5dd9c82ddc75d3bb5626057cbee7b059c2c.tar.gz deluge-957cd5dd9c82ddc75d3bb5626057cbee7b059c2c.tar.bz2 deluge-957cd5dd9c82ddc75d3bb5626057cbee7b059c2c.zip |
[Core] Fix SimpleNamespace on Python2
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index db6824561..50d60e6f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,12 +21,15 @@ matrix: include: - name: Unit tests env: TOX_ENV=py3 - - name: Unit tests (libtorrent 1.2) + - name: Unit tests - libtorrent 1.2 env: TOX_ENV=py3 addons: apt: sources: [sourceline: "ppa:libtorrent.org/1.2-daily"] packages: [python3-libtorrent, python3-venv] + - name: Unit tests - Python 2 + env: TOX_ENV=py27 + python: 2.7 - if: commit_message =~ SECURITY_TEST env: TOX_ENV=security - name: Code linting @@ -44,6 +47,7 @@ addons: - sourceline: "ppa:libtorrent.org/rc-1.1-daily" - deadsnakes packages: + - python-libtorrent - python3-libtorrent # Install py36 specifically for pre-commit to run black formatter. - python3.6 |