summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAge
* [CI] Replace pypi deluge-libtorrent with libtorrentCalum Lind2021-12-12
| | | | | * Remove certifi since included in requirements.txt * Remove old travis config
* [CI/CD] Fix Tox SSL error in Windows Travis jobCalum Lind2021-03-24
| | | | | The tox sdist-make step failed with SSL: CERTIFICATE_VERIFY_FAILED so fix by install certifi to ensure updated SSL certificates are available.
* [CI/CD] Add Travis windows buildCalum Lind2021-02-23
| | | | | | | | | * 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
* [Lint] Update pre-commit hook and isort versionsCalum Lind2021-01-24
| | | | | | | | | | | | | * Fixed black hook requiring Py3.6 to installed locally. Will now assume Py3.6+ in installed. * Added isort traceback in pre-commit flake8 hook fails * Updated versions of Black, Prettier and isort * Keep Flake8 at 3.7.9 due to E402 issue: https://gitlab.com/pycqa/flake8/-/issues/638 * New pyproject config for isort v5 with fixes for Python 2 imports. * Fixed travis config to run Python 3.6 for lint run. Replaced the virtualenv with_system_site_packages config with Travis specific Python config value so lint run doesn't attempt to append with_system_site_packages to Python 3.6 command.
* [Tests] Fix tox, pytest and travis issuesCalum Lind2020-04-12
| | | | | | | | | | * Error occurring with Pytest 5.4 so pin to below that version. * Fix minor issues with Travis config. * Use full command-switches for pytest in tox config. * Remove pin for pip as issue with pip-wheel-metadata was fixed in 19.3 * Remove tox-venv as causing issues of incompatible packages installed. The latest versions of the virtualenv package should handle these duties.
* [Docs] Add spellchecking with pyenchantCalum Lind2019-06-15
| | | | | | | | | - Use sphinxcontrib.spelling with custom wordlist. - Skip the checking of the modules documents as they raise false-positives. - Add a setup.py spellcheck_docs command. - Fix spelling and other issues. - Add a doc favicon.
* [Core] Fix SimpleNamespace on Python2Calum Lind2019-06-08
|
* [Travis] Add unit test for libtorrent 1.2Calum Lind2019-06-05
| | | | | | | Skip test_torrent_error_resume_original_state on libtorrent 1.2 as it is failing for an unknown reason. Refs: #3255
* [Travis] Remove Python2 testsCalum Lind2019-05-22
|
* [Travis] Fix getting version from git tagsCalum Lind2019-05-22
| | | | | | | | | | Travis clones the git repo with a shallow depth and the git describe command cannot find the version tag. Setting depth to 1000 should be enough but can be increased if required. Refs: https://docs.travis-ci.com/user/customizing-the-build/#git-clone-depth https://stackoverflow.com/a/51727114/175584
* [Packaging] Cleanup README for PypiCalum Lind2019-05-22
| | | | | | - Set a minimal Python version 3.5 and remove universal wheels. - Tidy up the README - Add Project URL for issues and docs.
* [Docs] Updates and fixes to build on Python 3Calum Lind2019-05-21
| | | | | | | | | | | - Updates to the sphinx conf - Applied Mock fixes to build on Python 3. - Group patches at bottom of conf file. - Use just a major.minor for version. - Specify Sphinx 2.0 version requirement. - Move requirements.txt to docs dir. - Add readthedocs config - Fix docstring code block rst formatting issue.
* Cleanup tox configurationCalum Lind2018-11-02
| | | | | | | | | | | | | | | | | | | There were issues with dependencies and tox environments under Python 3 so refactored the tox configuration to be more consistent and clearer. - Moved travis to default to Python 3 for linting and tests. - Fixed missing mock for cairo in sphinx config. - Collated the base deps sections to improve readability. - Added PYTEST_ADDOPTS env to override pytest verbosity in just tox tests as this was a common option being used. - Renamed env 'testcoverage' to the more concise 'coverage' and moved html creation under single env as handy to have this output as well as report. - Cleaned up the isort config for gtk3. - Added `bad-continuation` to pylint config as conflcts with black formatting. - Fix isort issue with bbfreeze script. This will likely be removed in future so just skip sorting it.
* [Travis] Fix missing pygi gtk3 packagesCalum Lind2018-11-02
|
* Cleanup Tox and CI configsCalum Lind2018-10-10
| | | | | | | - Use the apt addon for installing libtorrent package. - Start the py3 test sooner as it is slow to complete. - Add if conditions for gtkui test dependencies. - Remove Appveyor tests that are taken care of by Travis.
* Update tox and CI for Python 3Calum Lind2018-10-10
|
* [Tests] Lint with pre-commitCalum Lind2018-10-05
| | | | | | - Add lint section to tox. - Replace flake8 with lint on Travis and remove commented out sections. - Remove flake8 from appveyor to reduce sequential testing time.
* [Tests] Update tox and CI configsCalum Lind2018-10-05
| | | | | | | | | | | | | | | | | | | | | - Add new requirements files to make it easier to install deps. - Tox changes - Update tox to use new requirements files. - Tweak heading styles. - Add development environment command `devenv`. - Remove testenv command as it would run on devenv creation. - Travis changes - Now uses xenial as trusty is very old now. - Trial run disabled to speed up tests. - Add tox-venv for Python 3 support. - Only install testssl if running security tests. - Appveyor - Add tox-venv for Python 3 support. - Use requirements file for non-tox. - Remove trial run to speed up testing.
* [Lint] Format files with PrettierCalum Lind2018-10-03
| | | | | Use Prettier to auto-format javascript, CSS and YAML files so that less manual work is involved and style is consistent across project.
* [WebUI][Daemon] Enhance TLS SecurityDjLegolas2018-09-06
| | | | | | | | | | | | | | | | | This applies the following for both WebUI and Daemon: 1. Raised minimal TLS version to TLSv1.2 2. Added specific cipher suite list 3. Added support for ECDSA auth keys 4. Added support for ECDHE key exchange algorithm We disabled the ability to perform TLS/SSL renegotiation and therefore will prevent the clients from renegotiating, which can be exploit for DoS attacks. New security tests now will be skipped when running `pydef` and `trial` testenvs. To run the test, use the testenv `security` or add the environment variable `SECURITY_TESTS` before running the tests. Also should only run when adding to the commit message the string `SECURITY_TEST`.
* Fix tox config to install latest pip packagesCalum Lind2017-12-16
| | | | Trial changed command in latest versions of twisted
* [Travis] Use current Trusty imageCalum Lind2017-10-14
| | | | The issue with virtualenv site-packages was fixed: travis-ci/travis-cookbooks#878
* [Travis] Pin to older trusty buildCalum Lind2017-06-17
|
* Use Ubuntu Trusty on TravisCalum Lind2017-02-23
|
* Change libtorrent minimum dependency to 1.1.1Calum Lind2017-01-26
| | | | * Change PPA to develop for Travis to use libtorrent 1.1
* [Tests] Replace isort test with flake8-isortCalum Lind2016-11-25
| | | | * Move the known_third_party back to setup.cfg with comments.
* [Tests] Remove deprecated pip cache setting from travis configCalum Lind2016-11-03
|
* [Core] Change deprecated lt.version to lt.__version__Calum Lind2016-10-17
|
* [Tox] [Travis] Fixes to test configbendikro2016-05-22
|
* [Tests] Remove flake8 complextity from travis runCalum Lind2016-05-09
|
* [WebUi] [Core] Fixes to plugin handling and WebUi plugin + testsbendikro2016-04-18
| | | | | | | | | | | | | | | This should fix problems with errors occuring when failing to enable plugins. Errors in plugin handling are handled better and properly logged. WebUI plugin in particular had issues when being enabled and disabled multiple times because it was trying to create DelugeWeb component each time it was enabled. If deluge-web is already listening on the same port, enabling the WebUI plugin will fail, and the checkbox will not be checked. There are still some issues when enabling/disabling plugins by clicking fast multiple times on the checkbox.
* Set tox version==2.1.1 due to bug in latest toxbendikro2015-11-22
|
* [Travis] Disable broken TODO testCalum Lind2015-09-25
|
* Fix travis build version issueCalum Lind2015-08-26
| | | | | | * version.py script requires git tags but detached HEAD in travis clone requires manually creating the RELEASE-VERSION. * Also fix relative path issue building docs.
* [Tests] Fix Xvfb for GTKUI tests running on TravisCIbendikro2015-08-14
|
* Temporarily disable testcoverage in travis buildbendikro2014-12-01
|
* [Tests] Changes to tests and test configs of Travis/toxbendikro2014-12-01
| | | | | | | | | * Added pip chaching * Added disable_new_release_check to tracker icons tests * Fixed test_torrentview * Require minimum tox version 1.8 * Fixed GTKUI tests and testcoverage by using xvfb on travis * Separated the apt dependencies for commands requiering GTKUI deps
* [Tests] Various fixes for unit tests and toxbendikro2014-12-01
| | | | | | | | | | * Added custom trial reporter for TODO with test example in test_torrentmanager.py * Set Stats plugin tests as todo * Disable new_release_check when running unit tests * Added pytest.mark.slow to test_core.test_test_listen_port * Get rid of unit test warnings (Caused by bad names in test classes) * Removed warnings.filterwarnings in test files. * Added separate tox target for generating test coverage HTML report.
* Small fixes for Travis and isortCalum Lind2014-09-25
|
* Added .travis.yml (for travis-ci) and tox.ini filesbendikro2014-09-25
Targets: * Runs the unit-tests for python 2.7 * Tests unit-test coverage * Try to build docs * Code style checks: * flake8 * isort Codes changes: * Fixed tests for httpdownloader (using tmp dir) * Implemented a couple of tests for Stats plugin but they fail to run on travis Issues: * Can't get py26 to work because of installing libtorrent through apt and the option system_site_packages fails for 2.6.