Skip to content

Commit

Permalink
Add crypto optiotn to travis and pack scripts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-kotliar committed Nov 4, 2020
1 parent 43aeae2 commit 9dd3125
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ before_install:
- docker pull mysql/mysql-server:5.7
- docker run -v ~/database:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=airflow -e MYSQL_DATABASE=airflow -e MYSQL_USER=airflow -e MYSQL_PASSWORD=airflow -p 6603:3306 -d mysql/mysql-server:5.7 --explicit-defaults-for-timestamp=1
install:
- pip install ".[mysql]" --constraint ./packaging/constraints/constraints-$TRAVIS_PYTHON_VERSION.txt
- pip install ".[mysql,crypto]" --constraint ./packaging/constraints/constraints-$TRAVIS_PYTHON_VERSION.txt
before_script:
- airflow --help # to generate airflow.cfg
- sed -i'.backup' -e 's/^executor.*/executor = LocalExecutor/g' ~/airflow/airflow.cfg
Expand Down
2 changes: 1 addition & 1 deletion packaging/portable/macos/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ echo "Switch to ${CWL_AIRFLOW_VERSION} branch/tag"
git checkout --quiet $CWL_AIRFLOW_VERSION

echo "Install CWL-Airflow using dependency constraints from constraints-${PYTHON_VERSION}.txt, compile lxml"
../bin/pip3 install --prefix="../" --no-warn-script-location -qq ".[mysql]" --constraint ./packaging/constraints/constraints-${PYTHON_VERSION}.txt
../bin/pip3 install --prefix="../" --no-warn-script-location -qq ".[mysql,crypto]" --constraint ./packaging/constraints/constraints-${PYTHON_VERSION}.txt
../bin/pip3 uninstall -y -qq lxml
../bin/pip3 install --prefix="../" --no-warn-script-location --no-binary lxml -qq lxml # otherwise cannot be properly signed
cd ..
Expand Down
2 changes: 1 addition & 1 deletion packaging/portable/ubuntu/private/run_inside_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "Switch to ${CWL_AIRFLOW_VERSION} branch/tag"
git checkout --quiet $CWL_AIRFLOW_VERSION

echo "Install CWL-Airflow using dependency constraints from constraints-${PYTHON_VERSION}.txt"
../bin/pip3 install --prefix="../" --no-warn-script-location -qq ".[mysql]" --constraint ./packaging/constraints/constraints-${PYTHON_VERSION}.txt
../bin/pip3 install --prefix="../" --no-warn-script-location -qq ".[mysql,crypto]" --constraint ./packaging/constraints/constraints-${PYTHON_VERSION}.txt
cd ..
rm -rf cwl-airflow

Expand Down

0 comments on commit 9dd3125

Please sign in to comment.