From 9bdabc48e657ebf9062192d59998c68f43ab9c42 Mon Sep 17 00:00:00 2001 From: amtlib-dot-dll Date: Wed, 11 Apr 2018 01:47:38 +0000 Subject: 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 --- scripts/travis-build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3