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

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramtlib-dot-dll <amtlib-dot-dll@users.noreply.github.com>2018-04-11 04:47:38 +0300
committeramtlib-dot-dll <amtlib-dot-dll@users.noreply.github.com>2018-04-11 04:47:38 +0300
commit9bdabc48e657ebf9062192d59998c68f43ab9c42 (patch)
tree1061ee4c8779b6edeab8e26002bb842cd8f0e0a2 /scripts
parent2eccb7e8136dcef0b0f5f79e54243fef3e2b3994 (diff)
Use Travis CI to test flatpak recipes
The recipe in this repo is pointed to the `next` branch; The recipe in https://github.com/flathub/org.remmina.Remmina/blob/master/org.remmina.Remmina.json is pointed to the latest tagged release
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh
index a6b189b1b..23e8ef73d 100755
--- a/scripts/travis-build.sh
+++ b/scripts/travis-build.sh
@@ -85,6 +85,15 @@ elif [ "$BUILD_TYPE" == "cmake" ]; then
cmake -B$BUILD_FOLDER -H. $CMAKE_BUILD_OPTIONS
make VERBOSE=1 -C $BUILD_FOLDER
fi
+elif [ "$BUILD_TYPE" == "flatpak" ]; then
+ echo "TRAVIS_EVENT_TYPE=" $TRAVIS_EVENT_TYPE
+ if [ "$TRAVIS_BUILD_STEP" == "before_install" ]; then
+ sudo service docker start
+ elif [ "$TRAVIS_BUILD_STEP" == "install" ]; then
+ docker build -t flatpak ./flatpak
+ elif [ "$TRAVIS_BUILD_STEP" == "script" ]; then
+ docker run --privileged flatpak
+ fi
else
echo 'No $BUILD_TYPE defined'
exit 1