ソースを参照

Make Python 3.7 the default environment for builds/tests.

master
Samir Shah 5年前
コミット
0a34fa744d
4個のファイルの変更9行の追加9行の削除
  1. 5
    5
      .travis.yml
  2. 1
    1
      Dockerfile
  3. 1
    1
      docs/source/internals/contributing/running-tests.rst
  4. 2
    2
      tox.ini

+ 5
- 5
.travis.yml ファイルの表示

22
       env: TOXENV=py36-django22
22
       env: TOXENV=py36-django22
23
     - python: 3.7
23
     - python: 3.7
24
       env: TOXENV=py37-django22
24
       env: TOXENV=py37-django22
25
-    - python: 3.6
26
-      env: TOXENV=py36-djangomaster
25
+    - python: 3.7
26
+      env: TOXENV=py37-djangomaster
27
 
27
 
28
-    - python: 3.6
28
+    - python: 3.7
29
       env: TOXENV=lint
29
       env: TOXENV=lint
30
-    - python: 3.5
30
+    - python: 3.7
31
       env: TOXENV=sandbox
31
       env: TOXENV=sandbox
32
     - python: 3.7
32
     - python: 3.7
33
       env: TOXENV=docs
33
       env: TOXENV=docs
34
   allow_failures:
34
   allow_failures:
35
-    - env: TOXENV=py36-djangomaster
35
+    - env: TOXENV=py37-djangomaster
36
 
36
 
37
 branches:
37
 branches:
38
   only:
38
   only:

+ 1
- 1
Dockerfile ファイルの表示

1
-FROM python:3.5
1
+FROM python:3.7
2
 ENV PYTHONUNBUFFERED 1
2
 ENV PYTHONUNBUFFERED 1
3
 
3
 
4
 RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
4
 RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -

+ 1
- 1
docs/source/internals/contributing/running-tests.rst ファイルの表示

8
 You'll need:
8
 You'll need:
9
 
9
 
10
 - A running SQL server (PostgreSQL, or SQLite with `--sqlite` parameters)
10
 - A running SQL server (PostgreSQL, or SQLite with `--sqlite` parameters)
11
-- python3.5 or python3.6
11
+- python3.6 or python3.7
12
 
12
 
13
 Running tests
13
 Running tests
14
 -------------
14
 -------------

+ 2
- 2
tox.ini ファイルの表示

24
 
24
 
25
 
25
 
26
 [testenv:lint]
26
 [testenv:lint]
27
-basepython = python3.6
27
+basepython = python3.7
28
 deps =
28
 deps =
29
     flake8
29
     flake8
30
     isort
30
     isort
37
 
37
 
38
 
38
 
39
 [testenv:sandbox]
39
 [testenv:sandbox]
40
-basepython = python3.5
40
+basepython = python3.7
41
 deps =
41
 deps =
42
     -r{toxinidir}/requirements.txt
42
     -r{toxinidir}/requirements.txt
43
     django>=2.2,<2.3
43
     django>=2.2,<2.3

読み込み中…
キャンセル
保存