1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/.travis/travis.sh
initramfs 4975ca9bb5
fix(build): allow deployment of OSX dmg binary
This commit uncomments a previously removed line that creates OSX
binaries. Without creation of the dmg, OSX releases cannot be deployed
automatically by travis on release.
2016-08-10 06:50:34 +08:00

23 lines
707 B
Bash
Executable File

#!/bin/bash
#
# Script that runs all the necessary tests on travis.
#
# Exits as soon as there's a failure in test.
set -e
if [[ "$TRAVIS_OS_NAME" == "linux" ]]
then
# osx cannot into extended regexp for grep, thus verify only on Linux
bash ./verify-commit-messages.sh "$TRAVIS_COMMIT_RANGE"
bash ./.travis/build-ubuntu_14_04.sh
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]
then
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
fi