Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
10 additions
and 8 deletions.
@@ -1,12 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
function create_qgis_image { | ||
create_qgis_image () { | ||
|
||
if [[ ! $TRAVIS_REPO_SLUG =~ qgis/QGIS ]]; then | ||
return 0 | ||
echo false | ||
return | ||
fi | ||
if [[ $TRAVIS_EVENT_TYPE =~ cron ]] || [[ -n $TRAVIS_TAG ]]; then | ||
return 1; | ||
echo true | ||
return | ||
fi | ||
return 0; | ||
echo false | ||
} |