diff --git a/.travis.yml b/.travis.yml index 5fc7e83..84b2c2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,9 @@ before_install: script: # Test Airflow 1.8 with Python 2 - - cd tests/airflow1.8-py2 && docker-compose up -d - - ${TRAVIS_BUILD_DIR}/tests/${INTEGRATION_TEST_SCRIPT} - - docker-compose down + # - cd tests/airflow1.8-py2 && docker-compose up -d + # - ${TRAVIS_BUILD_DIR}/tests/${INTEGRATION_TEST_SCRIPT} + # - docker-compose down # Test Airflow 1.9 with Python 3 - cd ${TRAVIS_BUILD_DIR}/tests/airflow1.9-py3 && docker-compose up -d diff --git a/tests/airflow1.9-py3/airflow/build/Dockerfile b/tests/airflow1.9-py3/airflow/build/Dockerfile index 8341b50..4859408 100644 --- a/tests/airflow1.9-py3/airflow/build/Dockerfile +++ b/tests/airflow1.9-py3/airflow/build/Dockerfile @@ -5,4 +5,5 @@ USER root RUN pip3 install prometheus_client # Needed to write to mounted directory with proper permissions -USER ${HOST_USER_ID} +RUN useradd -r -u $HOST_USER_ID -g airflow airflow +USER airflow