[AIRFLOW-6069] Python host version in travis is set to 3.6 always (#6666)
This will make the scripts more "stable" - no problems with features missing in 3.5 for host scripts. Python version for all tests in container is controlled via PYTHON_VERSION variable.
This commit is contained in:
Родитель
4a17bca9e7
Коммит
c3358524c4
|
@ -33,7 +33,6 @@ stages:
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- name: "Static checks"
|
- name: "Static checks"
|
||||||
python: "3.6"
|
|
||||||
stage: pre-test
|
stage: pre-test
|
||||||
script: ./scripts/ci/ci_run_all_static_tests.sh
|
script: ./scripts/ci/ci_run_all_static_tests.sh
|
||||||
env: >-
|
env: >-
|
||||||
|
@ -42,7 +41,6 @@ jobs:
|
||||||
- name: "Build documentation"
|
- name: "Build documentation"
|
||||||
env: >-
|
env: >-
|
||||||
PYTHON_VERSION=3.6
|
PYTHON_VERSION=3.6
|
||||||
python: "3.6"
|
|
||||||
stage: pre-test
|
stage: pre-test
|
||||||
script: ./scripts/ci/ci_docs.sh
|
script: ./scripts/ci/ci_docs.sh
|
||||||
- name: "Tests postgres python 3.6"
|
- name: "Tests postgres python 3.6"
|
||||||
|
@ -50,21 +48,18 @@ jobs:
|
||||||
BACKEND=postgres
|
BACKEND=postgres
|
||||||
ENV=docker
|
ENV=docker
|
||||||
PYTHON_VERSION=3.6
|
PYTHON_VERSION=3.6
|
||||||
python: "3.6"
|
|
||||||
stage: test
|
stage: test
|
||||||
- name: "Tests sqlite python 3.6"
|
- name: "Tests sqlite python 3.6"
|
||||||
env:
|
env:
|
||||||
BACKEND=sqlite
|
BACKEND=sqlite
|
||||||
ENV=docker
|
ENV=docker
|
||||||
PYTHON_VERSION=3.6
|
PYTHON_VERSION=3.6
|
||||||
python: "3.6"
|
|
||||||
stage: test
|
stage: test
|
||||||
- name: "Tests mysql python 3.7"
|
- name: "Tests mysql python 3.7"
|
||||||
env:
|
env:
|
||||||
BACKEND=mysql
|
BACKEND=mysql
|
||||||
ENV=docker
|
ENV=docker
|
||||||
PYTHON_VERSION=3.7
|
PYTHON_VERSION=3.7
|
||||||
python: "3.7"
|
|
||||||
stage: test
|
stage: test
|
||||||
- name: "Tests postgres kubernetes python 3.6 (persistent)"
|
- name: "Tests postgres kubernetes python 3.6 (persistent)"
|
||||||
env: >-
|
env: >-
|
||||||
|
@ -73,7 +68,6 @@ jobs:
|
||||||
KUBERNETES_VERSION=v1.15.0
|
KUBERNETES_VERSION=v1.15.0
|
||||||
KUBERNETES_MODE=persistent_mode
|
KUBERNETES_MODE=persistent_mode
|
||||||
PYTHON_VERSION=3.6
|
PYTHON_VERSION=3.6
|
||||||
python: "3.6"
|
|
||||||
stage: test
|
stage: test
|
||||||
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
|
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
|
||||||
- name: "Tests postgres kubernetes python 3.6 (git)"
|
- name: "Tests postgres kubernetes python 3.6 (git)"
|
||||||
|
@ -83,7 +77,6 @@ jobs:
|
||||||
KUBERNETES_VERSION=v1.15.0
|
KUBERNETES_VERSION=v1.15.0
|
||||||
KUBERNETES_MODE=git_mode
|
KUBERNETES_MODE=git_mode
|
||||||
PYTHON_VERSION=3.6
|
PYTHON_VERSION=3.6
|
||||||
python: "3.6"
|
|
||||||
stage: test
|
stage: test
|
||||||
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
|
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
|
||||||
services:
|
services:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче