Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Travis checks did fail, because the Bareos project directory structure have changed. The Bareos WebUI is now build and packaged in the same step as the Bareos core. Also disables the tests for MySQL and Sqlite, as these are deprecated. Debian build now honors the flag DEB_BUILD_OPTIONS="nocheck" to skip tests.
- Loading branch information
1 parent
de46d0b
commit bc0e785
Showing
6 changed files
with
42 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -u | ||
|
||
sudo apt-get -qq update | ||
# qt5 should be used. Remove qt4-dev to avoid confusion. | ||
sudo apt-get remove libqt4-dev | ||
cd core | ||
dpkg-checkbuilddeps 2> /tmp/dpkg-builddeps || true | ||
if [ $BUILD_WEBUI ]; then | ||
if [ "${BUILD_WEBUI:-}" ]; then | ||
sudo -H pip install --upgrade pip 'urllib3>=1.22' | ||
sudo -H pip install sauceclient selenium | ||
cd ../webui | ||
dpkg-checkbuilddeps 2>> /tmp/dpkg-builddeps || true | ||
fi | ||
cat /tmp/dpkg-builddeps | ||
sed -e "s/^.*:.*:\s//" -e "s/\s([^)]*)//g" -e "s/|/ /g" -e "s/ /\n/g" /tmp/dpkg-builddeps > /tmp/build_depends | ||
sudo apt-get -q --assume-yes install fakeroot | ||
cat /tmp/build_depends | while read pkg; do | ||
echo "installing $pkg" | ||
sudo apt-get -q --assume-yes install $pkg | ||
echo "installing $pkg" | ||
sudo apt-get -q --assume-yes install $pkg || true | ||
done | ||
true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters