* Implement mail tracking Signed-off-by: Victor "multun" Collod <victor.collod@prologin.org> * Implement task merging * Add a mail tracker title format pattern * Autocomplete task names * Fix comment display * Track notification answers * Add a socket timeout for the mail worker A mail worker is a long running application. And sometimes, the IMAP server just hangs for hours for no apparent reason. imaplib doesn't enable setting a timeout, and setting it globally seems fine. * Only validate the merge form when submitted * Redirect to the new form when merging * Prettier task edit UI * Make task merging optional * Test mail tracking * Update documentation for mail tracking * Update dependencies * Add the TODO_COMMENT_CLASSES setting * Fix dependencies install order * Remove debug leftovers, improve documentation * Fail on missing from_address
27 lines
554 B
YAML
27 lines
554 B
YAML
sudo: true
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq build-essential gettext python-dev zlib1g-dev libpq-dev xvfb libjpeg8-dev
|
|
- sudo apt-get install -qq python-setuptools python3-dev python-virtualenv python-pip
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
|
|
install:
|
|
- "pip3 install pipenv"
|
|
- "pipenv install --dev"
|
|
- "pip3 install -e . --upgrade"
|
|
|
|
language: python
|
|
python:
|
|
- "3.6"
|
|
|
|
# Attempt to use cached versions of python deps
|
|
cache: pip
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
|
|
script: pipenv run pytest -x -v
|