-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 1.09 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
language: c
dist: xenial
env:
- UPLOADTOOL_ISPRERELEASE=true
# Install dependencies
install:
- sudo add-apt-repository -y ppa:cos-lyk/libmpv-xenial
- sudo apt-get update
- sudo apt-get install -y -t xenial-backports ninja-build
- sudo apt-get install -y curl desktop-file-utils ffmpeg libepoxy-dev libgtk-3-dev libjson-glib-dev libmpv-dev python3-pip python3-setuptools valac
- pip3 install meson==0.46.1
script:
- meson build --prefix=/usr --buildtype=release
- ninja -C build
after_success:
- DESTDIR=$PWD/AppDir ninja -C build install
- wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
- chmod +x linuxdeploy*.AppImage
- export VERSION=${TRAVIS_TAG#v}
- ./linuxdeploy-x86_64.AppImage --plugin gtk3 --appdir AppDir --executable /usr/bin/ffmpeg --executable /usr/bin/ffprobe --output appimage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh VidBox-*.AppImage
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous.*)$/