Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-03-03 19:15:22 +0300
committerRobert Adam <dev@robert-adam.de>2021-03-03 19:15:22 +0300
commitd0e59c6bfe3d11a13aa0e603d6234745c16e6d99 (patch)
treeb98efaf7af4077f1cb4aa3bd6daef0d09088f1d9 /.ci
parentf32c1eef380e6830e44e6d85e9a0115be7ee7ef5 (diff)
MAINT: Remove unneeded travis-ci dir
We don't use Travis anymore and thus we don't need that dir anymore either.
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/travis-ci/before_install.bash64
-rwxr-xr-x.ci/travis-ci/script.bash56
2 files changed, 0 insertions, 120 deletions
diff --git a/.ci/travis-ci/before_install.bash b/.ci/travis-ci/before_install.bash
deleted file mode 100755
index 0a48c798b..000000000
--- a/.ci/travis-ci/before_install.bash
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/bash -ex
-#
-# Copyright 2017-2021 The Mumble Developers. All rights reserved.
-# Use of this source code is governed by a BSD-style license
-# that can be found in the LICENSE file at the root of the
-# Mumble source tree or at <https://www.mumble.info/LICENSE>.
-
-MUMBLE_HOST_DEB=${MUMBLE_HOST/_/-}
-
-if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
- if [ "${MUMBLE_HOST}" == "aarch64-linux-gnu" ] || [ "${MUMBLE_HOST}" == "x86_64-linux-gnu" ]; then
- sudo apt-get -qq update
- sudo apt-get -y install build-essential ninja-build pkg-config \
- qt5-default qttools5-dev qttools5-dev-tools libqt5svg5-dev \
- libboost-dev libssl-dev libprotobuf-dev protobuf-compiler libprotoc-dev \
- libcap-dev libxi-dev \
- libasound2-dev \
- libogg-dev libsndfile1-dev libspeechd-dev \
- libavahi-compat-libdnssd-dev libzeroc-ice-dev libgrpc++-dev protobuf-compiler-grpc
- if [ "${MUMBLE_HOST}" == "aarch64-linux-gnu" ]; then
- # Kitware's APT repository doesn't provide packages for ARM64.
- cd ${HOME}
- if [ -d "cmake-3.17.2" ] && [ "$(ls -A cmake-3.17.2)" ]; then
- # Directory cached, CMake has already been compiled in a previous build.
- cd cmake-3.17.2 && sudo make install
- else
- # Build a recent version of CMake.
- wget https://github.com/Kitware/CMake/releases/download/v3.17.2/cmake-3.17.2.tar.gz && tar -xzvf cmake-3.17.2.tar.gz && cd cmake-3.17.2
- ./bootstrap && make -j $(nproc) && sudo make install
- fi
- else
- sudo apt-get -y install g++-multilib
- fi
- elif [ "${MUMBLE_HOST}" == "i686-w64-mingw32" ] || [ "${MUMBLE_HOST}" == "x86_64-w64-mingw32" ]; then
- sudo dpkg --add-architecture i386
-
- sudo apt-get -qq update
- sudo apt-get -y install ninja-build wine32-development wine-development
-
- mkdir ${HOME}/mxe && cd ${HOME}/mxe
-
- # Download lists of MXE packages to install.
- wget https://dl.mumble.info/build/mxe/mxe.deb-list
- wget https://dl.mumble.info/build/mxe/mxe-x86-64-pc-linux-gnu.deb-list
- wget https://dl.mumble.info/build/mxe/mxe-${MUMBLE_HOST_DEB}.static.deb-list
-
- # Merge the lists into a single one.
- cat *.deb-list > packages.deb-list
-
- # Download the MXE packages, if not cached.
- while read package; do
- if [ ! -z "$package" ] && [ ! -f "$package" ]; then
- wget https://dl.mumble.info/build/mxe/$package
- fi
- done <packages.deb-list
-
- # Install the MXE packages.
- sudo dpkg -i *.deb
- else
- exit 1
- fi
-else
- exit 1
-fi
diff --git a/.ci/travis-ci/script.bash b/.ci/travis-ci/script.bash
deleted file mode 100755
index 66efc716a..000000000
--- a/.ci/travis-ci/script.bash
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash -ex
-#
-# Copyright 2017-2021 The Mumble Developers. All rights reserved.
-# Use of this source code is governed by a BSD-style license
-# that can be found in the LICENSE file at the root of the
-# Mumble source tree or at <https://www.mumble.info/LICENSE>.
-
-if [ "${TRAVIS_REPO_SLUG}" == "mumble-voip/mumble" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
- if [ "${TRAVIS_BRANCH}" == "master" ]; then
- MASTER_BRANCH=1
- fi
-fi
-
-RELEASE_ID=$(python scripts/mumble-version.py)
-
-if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
- if [ "${MUMBLE_HOST}" == "aarch64-linux-gnu" ]; then
- mkdir build && cd build
-
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -Dtests=ON -DRELEASE_ID=$RELEASE_ID -Dsymbols=ON -Donline-tests=ON -Dgrpc=ON -Ddisplay-install-paths=ON ..
-
- cmake --build .
- # We don't execute tests on ARM64 because TestPacketDataStream fails.
- # See https://github.com/mumble-voip/mumble/issues/3845.
- #ctest
- sudo cmake --install .
- elif [ "${MUMBLE_HOST}" == "x86_64-linux-gnu" ]; then
- mkdir build && cd build
-
- # We specify the absolute path because otherwise Travis CI's CMake is used.
- /usr/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -Dtests=ON -DRELEASE_ID=$RELEASE_ID -Dsymbols=ON -Donline-tests=ON -Dgrpc=ON \
- -Ddisplay-install-paths=ON ..
-
- /usr/bin/cmake --build .
- /usr/bin/ctest --verbose
- sudo /usr/bin/cmake --install .
- elif [ "${MUMBLE_HOST}" == "i686-w64-mingw32" ] || [ "${MUMBLE_HOST}" == "x86_64-w64-mingw32" ]; then
- wget https://dl.mumble.info/build/extra/asio_sdk.zip -P /tmp/
- unzip /tmp/asio_sdk.zip
- mv asiosdk_2.3.3_2019-06-14 3rdparty/asio
-
- mkdir build && cd build
-
- PATH=$PATH:/usr/lib/mxe/usr/bin
-
- ${MUMBLE_HOST}.static-cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -Dtests=ON -DRELEASE_ID=$RELEASE_ID -Dstatic=ON -Dsymbols=ON -Dasio=ON \
- -Dzeroconf=OFF -Dice=OFF -Doverlay=OFF -Donline-tests=ON -Ddisplay-install-paths=ON ..
- cmake --build .
- # TODO: investigate why tests fail.
- #ctest
- else
- exit 1
- fi
-else
- exit 1
-fi