1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): check if .dmg is actually built

This commit is contained in:
Zetok Zalbavar 2016-09-27 12:34:05 +01:00
parent 5528b0b590
commit a3532e4212
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -20,7 +20,25 @@
set -e -o pipefail set -e -o pipefail
# Build OSX # Build OSX
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i build() {
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -b bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -d bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -b
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -dmg bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -d
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -dmg
}
# check if binary was built
check() {
local BIN_NAME="qTox.dmg"
if [[ ! -s "$BIN_NAME" ]]
then
echo "There's no $BIN_NAME !"
exit 1
fi
}
main() {
build
check
}
main