Permalink
Browse files

Travis CI: Use new flatpak-builder version to fix Git tags

  • Loading branch information...
jhasse committed Nov 6, 2017
1 parent a67b97f commit f62a546af5af8cc5dd9f48aad51d6bfd255c58be
Showing with 6 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +4 −1 install/linux/flatpak.sh
  3. +1 −0 install/linux/org.wxformbuilder.wxFormBuilder.json
View
@@ -8,7 +8,7 @@ matrix:
script:
- mkdir -p .cache
- "tar --xattrs --xattrs-include=* -xf .cache/cache.tar || true"
- docker run --privileged -v$PWD:/w -it fedora:26 /bin/sh -c "cd /w/install/linux && ./flatpak.sh"
- docker run --privileged -v$PWD:/w -it fedora:rawhide /bin/sh -c "cd /w/install/linux && ./flatpak.sh"
env: DEPLOY_FILE=install/linux/wxformbuilder.flatpak
before_cache:
- tar --xattrs --xattrs-include=* -cpf .cache/cache.tar install/linux/.flatpak-builder/
View
@@ -1,7 +1,10 @@
#!/bin/bash
set -eux
dnf install -y flatpak-builder git
rpm --import https://getfedora.org/static/9DB62FB1.txt
dnf install -y flatpak-builder git wget
wget https://kojipkgs.fedoraproject.org//packages/flatpak-builder/0.10.4/1.fc28/x86_64/flatpak-builder-0.10.4-1.fc28.x86_64.rpm
dnf install -y ./flatpak-builder*.rpm
flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.freedesktop.Platform 1.6
flatpak install gnome org.freedesktop.Sdk 1.6
@@ -50,6 +50,7 @@
"sources": [
{
"type": "git",
"branch": "HEAD",
"path": "../.."
}
]

0 comments on commit f62a546

Please sign in to comment.