Create Tarball on Travis (Fix #3)

This commit is contained in:
Florian Märkl 2019-08-21 18:57:29 +02:00
commit 08f5a3d4bf
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -3,7 +3,8 @@ language: cpp
matrix:
include:
- os: linux
- name: Linux
os: linux
dist: bionic
addons:
apt:
@ -34,7 +35,8 @@ matrix:
- ./linuxdeploy-x86_64.AppImage --appdir=appdir -e appdir/usr/bin/chiaki -d appdir/usr/share/applications/chiaki.desktop --plugin qt --output appimage
- mv Chiaki-*-x86_64.AppImage Chiaki-x86_64.AppImage
- os: osx
- name: macOS
os: osx
osx_image: xcode11
addons:
homebrew:
@ -53,6 +55,17 @@ matrix:
- cp -a build/gui/chiaki.app Chiaki.app
- /usr/local/opt/qt/bin/macdeployqt Chiaki.app -dmg
- name: "Source Package"
os: linux
dist: bionic
install: ~
script:
- find . -name ".git*" | xargs rm -rfv
- mkdir chiaki && shopt -s extglob && mv !(chiaki) chiaki
- tar -czvf "$DEPLOY_FILE" chiaki
env:
- DEPLOY_FILE="chiaki-src.tar.gz"
install:
- scripts/build-ffmpeg.sh