Skip to content

Commit

Permalink
[AIRFLOW-6069] Python host version in travis is set to 3.6 always (#6…
Browse files Browse the repository at this point in the history
…666)

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.

GitOrigin-RevId: c3358524c4943909eaea8884fe199adc0c8dd908
  • Loading branch information
potiuk authored and Cloud Composer Team committed Jan 27, 2023
1 parent 8ce84d4 commit f0a8203
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ stages:
jobs:
include:
- name: "Static checks"
python: "3.6"
stage: pre-test
script: ./scripts/ci/ci_run_all_static_tests.sh
env: >-
Expand All @@ -42,29 +41,25 @@ jobs:
- name: "Build documentation"
env: >-
PYTHON_VERSION=3.6
python: "3.6"
stage: pre-test
script: ./scripts/ci/ci_docs.sh
- name: "Tests postgres python 3.6"
env: >-
BACKEND=postgres
ENV=docker
PYTHON_VERSION=3.6
python: "3.6"
stage: test
- name: "Tests sqlite python 3.6"
env:
BACKEND=sqlite
ENV=docker
PYTHON_VERSION=3.6
python: "3.6"
stage: test
- name: "Tests mysql python 3.7"
env:
BACKEND=mysql
ENV=docker
PYTHON_VERSION=3.7
python: "3.7"
stage: test
- name: "Tests postgres kubernetes python 3.6 (persistent)"
env: >-
Expand All @@ -73,7 +68,6 @@ jobs:
KUBERNETES_VERSION=v1.15.0
KUBERNETES_MODE=persistent_mode
PYTHON_VERSION=3.6
python: "3.6"
stage: test
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
- name: "Tests postgres kubernetes python 3.6 (git)"
Expand All @@ -83,7 +77,6 @@ jobs:
KUBERNETES_VERSION=v1.15.0
KUBERNETES_MODE=git_mode
PYTHON_VERSION=3.6
python: "3.6"
stage: test
script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
services:
Expand Down

0 comments on commit f0a8203

Please sign in to comment.