potiuk commented on a change in pull request #4938: [AIRFLOW-4117]
Multi-staging Image - Travis CI tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#discussion_r293103221
##########
File path: .travis.yml
##########
@@ -16,27 +16,34 @@
# specific language governing permissions and limitations
# under the License.
#
+sudo: true
dist: xenial
language: python
-python:
- - "3.6"
env:
global:
- - TRAVIS_CACHE=$HOME/.travis_cache/
+ - BUILD_ID=${TRAVIS_BUILD_ID}
+ - BRANCH_NAME=${TRAVIS_BRANCH}
matrix:
- - TOX_ENV=py27-backend_mysql-env_docker
- - TOX_ENV=py27-backend_sqlite-env_docker
- - TOX_ENV=py27-backend_postgres-env_docker
- - TOX_ENV=py35-backend_mysql-env_docker PYTHON_VERSION=3
- - TOX_ENV=py35-backend_sqlite-env_docker PYTHON_VERSION=3
- - TOX_ENV=py35-backend_postgres-env_docker PYTHON_VERSION=3
- - TOX_ENV=py27-backend_postgres-env_kubernetes KUBERNETES_VERSION=v1.9.0
- - TOX_ENV=py35-backend_postgres-env_kubernetes KUBERNETES_VERSION=v1.13.0
PYTHON_VERSION=3
-
+ - BACKEND=mysql ENV=docker
+ - BACKEND=postgres ENV=docker
+ - BACKEND=sqlite ENV=docker
+ - BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.9.0
+ - BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.13.0
+python:
+ - '3.6'
+ - '3.5'
Review comment:
Correct. Tests run within Docker. Each python version has a separate image.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services