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
2
1
language : python
3
- dist : trusty
2
+ dist : xenial
4
3
5
4
jobs :
6
5
fast_finish : true
7
6
include :
8
7
- stage : baseline
9
8
python : 3.6
10
9
env : TOXENV=py36-dj20-postgres-coverage
10
+ services :
11
+ - postgresql
11
12
- python : 3.6
12
13
env : TOXENV=py36-dj111-sqlite-coverage
13
14
- python : 2.7
14
15
env : TOXENV=py27-dj111-mysql_innodb-coverage
16
+ services :
17
+ - mysql
15
18
- python : 3.6
16
19
env : TOXENV=checkqa,docs
17
20
18
21
- stage : test
19
- # py37 is not available in trusty dist, and requires sudo=true with xenial.
20
22
python : 3.7
21
23
env : TOXENV=py37-dj21-sqlite-coverage
22
- dist : xenial
23
- sudo : true
24
-
25
24
- python : 3.7
26
25
env : TOXENV=py37-dj22-sqlite-coverage
27
- dist : xenial
28
- sudo : true
29
26
30
27
- python : 3.6
31
28
env : TOXENV=py36-djmaster-sqlite-coverage
32
29
33
30
- python : 3.5
34
31
env : TOXENV=py35-dj110-postgres-coverage
32
+ services :
33
+ - postgresql
35
34
36
35
- python : 3.4
37
36
env : TOXENV=py34-dj19-sqlite_file-coverage
38
37
39
38
- python : 2.7
40
39
env : TOXENV=py27-dj111-mysql_myisam-coverage
40
+ services :
41
+ - mysql
41
42
- python : 2.7
42
43
env : TOXENV=py27-dj18-postgres-coverage
44
+ services :
45
+ - postgresql
43
46
44
47
# pypy/pypy3: not included with coverage reports (much slower then).
45
- - python : pypy
48
+ - python : pypy2.7-6.0
46
49
env : TOXENV=pypy-dj111-sqlite_file
47
- - python : pypy3
50
+ - python : pypy3.5-6.0
48
51
env : TOXENV=pypy3-dj110-sqlite
49
52
50
53
- stage : test_release
51
54
python : 3.6
52
55
env : TOXENV=py36-dj20-postgres
56
+ services :
57
+ - postgresql
53
58
54
59
- stage : release
55
60
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
2
2
3
3
DATABASES = {
4
4
"default" : {
5
5
"ENGINE" : "django.db.backends.mysql" ,
6
- "NAME" : "pytest_django" + db_suffix , # noqa
6
+ "NAME" : "pytest_django" + db_suffix , # noqa: F405
7
7
"HOST" : "localhost" ,
8
8
"USER" : "root" ,
9
- "OPTIONS" : {"init_command" : "SET storage_engine =InnoDB" },
9
+ "OPTIONS" : {"init_command" : "SET default_storage_engine =InnoDB" },
10
10
}
11
11
}
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
2
2
3
3
DATABASES = {
4
4
"default" : {
5
5
"ENGINE" : "django.db.backends.mysql" ,
6
- "NAME" : "pytest_django" + db_suffix , # noqa
6
+ "NAME" : "pytest_django" + db_suffix , # noqa: F405
7
7
"HOST" : "localhost" ,
8
8
"USER" : "root" ,
9
- "OPTIONS" : {"init_command" : "SET storage_engine =MyISAM" },
9
+ "OPTIONS" : {"init_command" : "SET default_storage_engine =MyISAM" },
10
10
}
11
11
}
You can’t perform that action at this time.
0 commit comments