File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,17 @@ matrix:
5757 - python : 3.6
5858 env : TOXENV=py36-django22LTS
5959 - python : 3.6
60- env : TOXENV=py36-django31
60+ env : TOXENV=py36-django30
6161 - python : 3.6
6262 env : TOXENV=py36-django31
63+ - python : 3.6
64+ env : TOXENV=py36-django32
65+ - python : 3.8
66+ env : TOXENV=py38-django30
67+ - python : 3.8
68+ env : TOXENV=py38-django31
69+ - python : 3.8
70+ env : TOXENV=py38-django32
6371 script :
6472 - docker build -t algoliasearch_django .
6573 - docker run -it --rm --env ALGOLIA_APPLICATION_ID --env ALGOLIA_API_KEY --env ALGOLIA_SEARCH_API_KEY --env TOXENV -v $PWD:/code -w /code algoliasearch_django tox
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ def _should_really_index(self, instance):
260260 # noinspection PyDeprecation
261261 count_args = len (inspect .getargspec (self .should_index ).args )
262262
263- if is_method or count_args is 1 :
263+ if is_method or count_args == 1 :
264264 # bound method, call with instance
265265 return self .should_index (instance )
266266 else :
Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ envlist =
88 {py34,py35,py36}-django20
99 {py34,py35,py36}-django21
1010 {py34,py35,py36}-django22LTS
11- {py34,py35,py36}-django30
12- {py34,py35,py36}-django31
11+ {py34,py35,py36,py38}-django30
12+ {py34,py35,py36,py38}-django31
13+ {py36,py38}-django32
1314 coverage
1415skip_missing_interpreters = True
1516
2930 django22LTS: Django>=2.2,<3.0
3031 django30: Django>=3.0,<3.1
3132 django31: Django>=3.1,<3.2
33+ django32: Django>=3.2,<3.3
3234passenv =
3335 ALGOLIA*
3436 TRAVIS*
You can’t perform that action at this time.
0 commit comments