File tree Expand file tree Collapse file tree 3 files changed +21
-16
lines changed Expand file tree Collapse file tree 3 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 1- sudo : false
21language : python
3- dist : trusty
2+ dist : xenial
43
54jobs :
65 fast_finish : true
76 include :
87 - stage : baseline
98 python : 3.6
109 env : TOXENV=py36-dj20-postgres-coverage
10+ services :
11+ - postgresql
1112 - python : 3.6
1213 env : TOXENV=py36-dj111-sqlite-coverage
1314 - python : 2.7
1415 env : TOXENV=py27-dj111-mysql_innodb-coverage
16+ services :
17+ - mysql
1518 - python : 3.6
1619 env : TOXENV=checkqa,docs
1720
1821 - stage : test
19- # py37 is not available in trusty dist, and requires sudo=true with xenial.
2022 python : 3.7
2123 env : TOXENV=py37-dj21-sqlite-coverage
22- dist : xenial
23- sudo : true
24-
2524 - python : 3.7
2625 env : TOXENV=py37-dj22-sqlite-coverage
27- dist : xenial
28- sudo : true
2926
3027 - python : 3.6
3128 env : TOXENV=py36-djmaster-sqlite-coverage
3229
3330 - python : 3.5
3431 env : TOXENV=py35-dj110-postgres-coverage
32+ services :
33+ - postgresql
3534
3635 - python : 3.4
3736 env : TOXENV=py34-dj19-sqlite_file-coverage
3837
3938 - python : 2.7
4039 env : TOXENV=py27-dj111-mysql_myisam-coverage
40+ services :
41+ - mysql
4142 - python : 2.7
4243 env : TOXENV=py27-dj18-postgres-coverage
44+ services :
45+ - postgresql
4346
4447 # pypy/pypy3: not included with coverage reports (much slower then).
45- - python : pypy
48+ - python : pypy2.7-6.0
4649 env : TOXENV=pypy-dj111-sqlite_file
47- - python : pypy3
50+ - python : pypy3.5-6.0
4851 env : TOXENV=pypy3-dj110-sqlite
4952
5053 - stage : test_release
5154 python : 3.6
5255 env : TOXENV=py36-dj20-postgres
56+ services :
57+ - postgresql
5358
5459 - stage : release
5560 script : skip
Original file line number Diff line number Diff line change 1- from .settings_base import * # noqa
1+ from .settings_base import * # noqa: F403
22
33DATABASES = {
44 "default" : {
55 "ENGINE" : "django.db.backends.mysql" ,
6- "NAME" : "pytest_django" + db_suffix , # noqa
6+ "NAME" : "pytest_django" + db_suffix , # noqa: F405
77 "HOST" : "localhost" ,
88 "USER" : "root" ,
9- "OPTIONS" : {"init_command" : "SET storage_engine =InnoDB" },
9+ "OPTIONS" : {"init_command" : "SET default_storage_engine =InnoDB" },
1010 }
1111}
Original file line number Diff line number Diff line change 1- from pytest_django_test .settings_base import * # noqa
1+ from pytest_django_test .settings_base import * # noqa: F403
22
33DATABASES = {
44 "default" : {
55 "ENGINE" : "django.db.backends.mysql" ,
6- "NAME" : "pytest_django" + db_suffix , # noqa
6+ "NAME" : "pytest_django" + db_suffix , # noqa: F405
77 "HOST" : "localhost" ,
88 "USER" : "root" ,
9- "OPTIONS" : {"init_command" : "SET storage_engine =MyISAM" },
9+ "OPTIONS" : {"init_command" : "SET default_storage_engine =MyISAM" },
1010 }
1111}
You can’t perform that action at this time.
0 commit comments