-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
*.pyc | ||
*.pyo | ||
*.egg-info | ||
.coverage | ||
tests/mail.txt | ||
|
||
gpg_keyring/ | ||
htmlcov/ | ||
tests/fixtures/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
sudo: false | ||
language: python | ||
env: | ||
- DJANGO_VERSION="Django>=1.8,<1.9" | ||
- DJANGO_VERSION="Django>=1.9,<1.10" | ||
- DJANGO_VERSION="Django>=1.10,<1.11" | ||
- DJANGO_VERSION="Django>=1.11,<2.0" | ||
- DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz' | ||
python: | ||
# None of the currently supported Django versions support Python 2.6 | ||
# - "2.6" | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
# matrix: | ||
# exclude: | ||
# # Django 2.0 won't support Python 2.x anymore | ||
# - python: "2.7" | ||
# env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz' | ||
before_script: | ||
- pip install coverage coveralls flake8 python-gnupg | ||
- pip install -q "$DJANGO_VERSION" | ||
# Make sure we have gpg installed; this also logs the version of GPG | ||
- gpg --version | ||
script: | ||
- flake8 email_extras --exclude=email_extras/migrations | ||
- coverage run --include=email_extras/*.py manage.py migrate | ||
- coverage run --include=email_extras/*.py --omit=email_extras/migrations/*.py manage.py test tests | ||
after_script: | ||
- coverage combine | ||
- coveralls | ||
matrix: | ||
allow_failures: | ||
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz' |