credentials only get set if not pull request
@@ -26,9 +26,11 @@ install:
- pip install geopandas==0.6.3 # This is temporal fix
script:
-- sentinelhub.config --instance_id $INSTANCE_ID
-- sentinelhub.config --sh_client_secret $SH_CLIENT_SECRET
-- sentinelhub.config --sh_client_id $SH_CLIENT_ID
+- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
+ sentinelhub.config --instance_id $INSTANCE_ID &&
+ sentinelhub.config --sh_client_secret $SH_CLIENT_SECRET &&
+ sentinelhub.config --sh_client_id $SH_CLIENT_ID
+ fi
- if [ $TRAVIS_PYTHON_VERSION == '3.6' ]; then
pylint core/eolearn/core/*.py &&
pylint coregistration/eolearn/coregistration/*.py &&
