Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-02-02 13:59:57 +0300
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-02-02 17:23:20 +0300
commit2af75db4cc2bce9ec799f3c209509a869a1bf29f (patch)
tree5ea39fe1730e9d5c5414d12b9170964d1ee38a8c /scripts
parent41502dcb390cfb23b81ab966fbbd1d51830f0121 (diff)
travis: add SNAP_PRIME_ON_PULL_REQUEST setting
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh
index c77797cb7..5601901f1 100755
--- a/scripts/travis-build.sh
+++ b/scripts/travis-build.sh
@@ -61,6 +61,13 @@ if [ "$BUILD_TYPE" == "deb" ]; then
make VERBOSE=1
fi
elif [ "$BUILD_TYPE" == "snap" ]; then
+ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
+ if [ "$SNAP_PRIME_ON_PULL_REQUEST" != "true" ]; then
+ echo '$SNAP_PRIME_ON_PULL_REQUEST is not set to true, thus we skip this now'
+ exit 0
+ fi
+ fi
+
if [ "$TRAVIS_BUILD_STEP" == "before_install" ]; then
if [ -n "$ARCH" ]; then DOCKER_IMAGE="$ARCH/$DOCKER_IMAGE"; fi
docker run --name $DOCKER_BUILDER_NAME -v $PWD:$PWD -w $PWD -td $DOCKER_IMAGE