1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/.travis/build-osx.sh
initramfs e124bd85b6
chore(build): parallelize travis and separate out doc build/deploy
This commit takes the existing travis task list and attempts to split
it into multiple jobs for the sake of efficiency. Also properly
separates out the build/deploy of documentation.
2016-08-11 17:53:34 +08:00

26 lines
925 B
Bash
Executable File

#!/bin/bash
#
# Copyright © 2016 by The qTox Project
#
# This program is libre software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Fail out on error
set -e -o pipefail
# Build OSX
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -b
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -d
# The following line can randomly fail due to travis emitting the error:
# "hdiutil: create failed - Resource busy"
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -dmg