forked from Hackerl/Wine_Appimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (24 loc) · 1.88 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
sudo: required
language: cpp
services:
- docker
before_install:
- wget -nv -c https://www.playonlinux.com/wine/binaries/linux-x86/PlayOnLinux-wine-3.10-linux-x86.pol
- wget -nv -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool.AppImage
script:
- docker build . -f deploydocker/Dockerfile.winedeploy.ubuntu.latest -t wineappimage.ubuntu.latest
- docker build . -f deploydocker/Dockerfile.winedeploy.debian.buster -t wineappimage.debian.buster
- docker build . -f deploydocker/Dockerfile.winedeploy.debian.stretch -t wineappimage.debian.stretch
- docker build . -f deploydocker/Dockerfile.winedeploy.debian.sid -t wineappimage.debian.sid
- docker build . -f deploydocker/Dockerfile.winedeploy.arch.latest -t wineappimage.arch.latest
- docker build . -f deploydocker/Dockerfile.winedeploy.opensuse.latest -t wineappimage.opensuse.latest
after_success:
- mkdir apps
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.ubuntu.latest cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-ubuntu.latest.AppImage
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.debian.buster cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-debian.buster.AppImage
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.debian.stretch cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-debian.stretch.AppImage
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.debian.sid cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-debian.sid.AppImage
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.arch.latest cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-arch.latest.AppImage
- docker run --rm -v $(pwd)/apps:/tmp/apps -ti wineappimage.opensuse.latest cp Wine-x86_64.AppImage /tmp/apps/Wine-x86_64-opensuse.latest.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh apps/*