Commit Graph

37 Commits

Author SHA1 Message Date
medmunds
296f6cab50 Test Django 1.10
Also includes:
* Change AnymailTestMixin.assertDoesNotWarn
  to filter specific warning classes.
* Look specifically for AnymailInsecureWebhookWarning
  in WebhookBasicAuthTestsMixin.test_warns_if_no_auth
  (because we don't care *in that test case* about
  DeprecatedInDjango10 warnings).
2016-05-29 17:34:51 -07:00
medmunds
d4f6ffbb41 Show DeprecationWarning, etc. in runtests
Install default warnings filter in test runs, to avoid
python's default suppression of DeprecationWarning
and other "intended for developer" warnings.

(Avoids need to provide -Wd or -Wall arg to runtests.)
2016-05-12 17:42:44 -07:00
medmunds
fed98b14a8 install: remove need to name [esp]
Simplify install to just `pip install django-anymail`.
(Rather than `... django-anymail[mailgun]`

All of the ESPs so far require requests, so just move
that into the base requirements. (Chances are your
Django app already needs requests for some other
reason, anyway.)

Truly unique ESP dependencies (e.g., boto for
AWS-SES) could still use the setup extra features
mechanism.
2016-03-14 13:26:06 -07:00
medmunds
db20d4ae0c Travis should install SendGrid deps
[ci skip]  - they're the same as Mailgun deps
2016-03-11 19:22:54 -08:00
medmunds
b4c60d55bd Travis: needs to install all the ESP extras 2016-03-09 19:37:18 -08:00
medmunds
37a54cde3f Travis: disable older Django versions 2016-03-09 18:51:57 -08:00
medmunds
921dd5d0d6 Fork from Djrill and rename to "anymail" 2016-02-27 11:16:04 -08:00
medmunds
265c7460e0 Support Django 1.9 release 2015-12-02 16:59:34 -08:00
medmunds
681af234bd Travis: avoid legacy infrastructure; enable caching 2015-09-25 18:29:15 -07:00
medmunds
e06f2cf718 Travis: make build matrix more readable (by humans) 2015-09-25 17:50:44 -07:00
medmunds
3b4d1c1359 Travis: list installed package versions in build log 2015-09-25 17:19:51 -07:00
Mike Edmunds
1ce7f98375 Add Django 1.9 alpha to test matrix 2015-09-25 12:02:42 -07:00
medmunds
da260de1a0 Drop support for Django 1.3, Python 2.6 and 3.2.
* Shrink the Travis test matrix
* Remove a lot of backported test code
* Update requirements in setup.py
* Update docs

Closes #79
2015-05-14 11:39:57 -07:00
medmunds
a6d4911d9b Travis: upgrade pip and setuptools at start of build
Hoping to clean up some warnings while installing dependencies.
2015-05-13 19:49:25 -07:00
medmunds
adfc9f4a47 Django 1.8 release 2015-05-11 17:07:02 -07:00
medmunds
d23a1bf4a1 Bump tests to Django 1.8b1 2015-02-25 16:31:35 -08:00
medmunds
8ab36d2cd0 Django 1.8 alpha 1 support
* Test on Python 2.7, 3.4, pypy.
* Call super.setUpClass in DjrillAdminTests.
  https://docs.djangoproject.com/en/dev/releases/1.8/#overriding-setupclass-teardownclass-in-test-cases

Also clear up some new PendingDeprecationWarnings, where
the changes can easily remain compatible back to Django 1.3:

* Remove deprecated django.conf.urls.patterns.
  (And match Django recommendations in our docs.)
  https://docs.djangoproject.com/en/dev/releases/1.8/#django-conf-urls-patterns
* Remove deprecated SimpleTestCase.urls.
  (We've already back-ported @override_settings
  for testing older Django versions.)
  https://docs.djangoproject.com/en/dev/releases/1.8/#django-test-simpletestcase-urls
2015-01-16 16:17:31 -08:00
medmunds
a8ff2ad39e Update tests, readme for Django 1.7 release 2014-09-29 12:03:37 -07:00
medmunds
54d54a9e73 Correct Travis install for Django 1.7rc2
With 55dc242, fixes #71
2014-08-01 07:43:53 -07:00
medmunds
6dcbf86a43 Travis: Django 1.7rc2; explicit build matrix
Switch to explicitly declaring build matrix, with the versions
of Python supported by each version of Django we handle.
(Exclusion list was becoming too complicated.)
2014-07-28 08:20:34 -07:00
Omer Katz
1191d659d1 Updated the build process.
The build now tests for newer Python 3.x versions and PyPy.
Also the build will now test itself against Django 1.7RC1 instead of the latest beta version.
2014-07-15 11:52:54 +03:00
medmunds
fbbc84f98f Travis: _actually_ update Django 1.7 to b4
(Oops, Django project changed url convention.)
2014-05-28 21:26:46 -07:00
medmunds
ba803a553e Travis: _actually_ update Django 1.7 to b4 2014-05-28 21:20:10 -07:00
medmunds
18e3b52574 Travis: update Django 1.7 to b4 2014-05-28 21:13:21 -07:00
medmunds
2c05647ada Travis: lose deprecated pip --use-mirrors 2014-05-28 21:12:41 -07:00
medmunds
3cfcc34bc1 Oops: don't test Django 1.7b1 under Python 2.6 2014-04-20 15:03:09 -07:00
medmunds
1e39e4d5c8 Start testing Django 1.7b1 2014-04-20 14:45:29 -07:00
medmunds
b1b049962c Django 1.6 released 2013-11-09 10:43:40 -08:00
medmunds
43dd289a16 Test against Django 1.6b4 2013-10-19 11:26:34 -07:00
medmunds
1966de2cad Test against Django 1.6 alpha 2013-06-15 15:44:05 -07:00
medmunds
5eae484561 Travis: test against Django 1.5 final 2013-02-28 17:30:22 -08:00
medmunds
c550aacbb8 Travis: re-enable Python 3.2 testing
(Recent requests updates may have fixed Python 3 setup issues)
2013-01-12 10:50:44 -08:00
medmunds
cf56fd4a23 Don't waste Travis resources testing Django 1.5 on python 2.6 2012-12-05 11:17:21 -08:00
medmunds
38492e3ea4 Travis: can't test python 3 yet -- problem with requests setup script
kennethreitz/requests#939
kennethreitz/requests#916
2012-12-05 11:14:10 -08:00
medmunds
8c4c3b95e4 Travis: catch DeprecationWarnings 2012-12-05 10:50:21 -08:00
medmunds
e95448d58c Add testing on (prerelease) Django 1.5 (including python 3.2) 2012-12-05 10:32:08 -08:00
medmunds
b2fdfb7805 Configure travis-ci.org tests
Test Django 1.2 and 1.3; Python 2.6 and 2.7

Don't bother testing Python 2.5 -- it requires an older version of
requests (that doesn't depend on json).

Don't bother testing Django 1.2 -- it requires changes to ``assertRaises``
in the test cases (because the context-manager version of assertRaises is
part of unittest2, which appears in Django 1.3+ or Python 2.7+).

Don't bother testing Django 1.5 (yet).
2012-11-24 12:41:02 -08:00