You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/01/13 02:24:52 UTC

[GitHub] kaxil closed pull request #4497: [AIRFLOW-3685] Move licence header check

kaxil closed pull request #4497: [AIRFLOW-3685] Move licence header check
URL: https://github.com/apache/airflow/pull/4497
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index 43cb071e8c..243fe9867b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,15 +35,18 @@ env:
     - TOX_ENV=py35-backend_postgres-env_kubernetes KUBERNETES_VERSION=v1.10.0 PYTHON_VERSION=3
 
 stages:
-  - flake8
+  - pre-test
   - test
 
 jobs:
   include:
-    - stage: flake8
-      name: Flake8
+    - name: Flake8
+      stage: pre-test
       script: docker-compose --log-level ERROR -f scripts/ci/docker-compose.yml run airflow-testing /app/scripts/ci/run-ci.sh
       env: TOX_ENV=flake8
+    - name: Check license header
+      stage: pre-test
+      script: scripts/ci/6-check-license.sh
 
 cache:
   directories:
diff --git a/tox.ini b/tox.ini
index 491b054b32..2f4304a4fb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -60,7 +60,6 @@ commands =
   env_docker: {toxinidir}/scripts/ci/2-setup-kdc.sh
   backend_mysql: {toxinidir}/scripts/ci/3-setup-mysql.sh
   {toxinidir}/scripts/ci/5-run-tests.sh []
-  {toxinidir}/scripts/ci/6-check-license.sh
   codecov -e TOXENV
 
 [testenv:flake8]


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services