Skip to content

Commit

Permalink
Travis needs latest sqlite version because Airflow 2.0 needs latest s…
Browse files Browse the repository at this point in the history
…qlite version
  • Loading branch information
aelzeiny committed Mar 15, 2021
1 parent 15e95ee commit 0d3effe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ python:
services:
- postgresql
install:
- pip install apache-airflow[postgres] boto3 pylint isort marshmallow
- pip install apache-airflow[postgres] flask-sqlalchemy boto3 pylint isort marshmallow
env:
- AIRFLOW__BATCH__REGION=us-west-1 AIRFLOW__BATCH__JOB_NAME=some-job-name AIRFLOW__BATCH__JOB_QUEUE=some-job-queue AIRFLOW__BATCH__JOB_DEFINITION=some-job-def AIRFLOW__ECS_FARGATE__REGION=us-west-1 AIRFLOW__ECS_FARGATE__CLUSTER=some-cluster AIRFLOW__ECS_FARGATE__CONTAINER_NAME=some-container-name AIRFLOW__ECS_FARGATE__TASK_DEFINITION=some-task-def AIRFLOW__ECS_FARGATE__LAUNCH_TYPE=FARGATE AIRFLOW__ECS_FARGATE__PLATFORM_VERSION=LATEST AIRFLOW__ECS_FARGATE__ASSIGN_PUBLIC_IP=DISABLED AIRFLOW__ECS_FARGATE__SECURITY_GROUPS=SG1,SG2 AIRFLOW__ECS_FARGATE__SUBNETS=SUB1,SUB2 AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://postgres:@localhost:5432/airflow
before_script:
- psql -c 'create database airflow;' -U postgres
- airflow initdb
- airflow db init
script:
- pylint --fail-under=9 ./airflow_aws_executors
- isort -c -rc ./airflow_aws_executors
Expand Down

0 comments on commit 0d3effe

Please sign in to comment.