-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 1.12 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: minimal
dist: xenial
matrix:
include:
- name: "Build for x86_64"
env: ARCH=x86_64
- name: "Build for i386"
env: ARCH=i386
before_install:
- sudo add-apt-repository ppa:alexlarsson/flatpak -y
- sudo apt-get update -q
- sudo apt-get install flatpak-builder binutils elfutils git patch unzip -y
install:
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
- git clone https://github.com/gasinvein/winebar-sdk/
- cd winebar-sdk
- |
flatpak-builder --verbose \
--install-deps-only --install-deps-from=flathub-beta --user \
--arch=$ARCH /dev/null \
io.winebar.Sdk.yml
- ./build.sh $ARCH ./repo "--verbose" ""
- flatpak --user remote-add --no-gpg-verify travis ./repo
- cd ..
- flatpak install travis io.winebar.Platform//master io.winebar.Sdk//master
script: |
flatpak-builder build-dir --verbose \
--install-deps-from=flathub-beta --user \
--arch=$ARCH /dev/null \
com.invisionapp.Studio.yml