More CI tweaks

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2020-05-31 14:20:55 +01:00
parent e5c16d2be0
commit f72b0cf921
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 20 additions and 1 deletions

View File

@ -23,6 +23,10 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
if [ "${CC}" == "gcc-8" ]; then
brew install gcc@8
fi
# force installation of gcc-9 if required
if [ "${CC}" == "gcc-9" ]; then
brew install gcc@9
fi
fi
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
@ -34,7 +38,6 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
libsndfile-dev \
libasound2-dev \
libdb-dev \
systemd-services \
systemd \
libsystemd-dev \
libpam-systemd \
@ -73,10 +76,26 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
if [ "${CC}" == "gcc-8" ]; then
sudo apt-get install gcc-8 g++-8
fi
# force installation of gcc-9 if required
if [ "${CC}" == "gcc-9" ]; then
sudo apt-get install gcc-9 g++-9
fi
# force installation of clang-3.5 if required
if [ "${CC}" == "clang-3.5" ]; then
sudo apt-get install clang-3.5
fi
# force installation of clang-3.8 if required
if [ "${CC}" == "clang-3.8" ]; then
sudo apt-get install clang-3.8
fi
# force installation of clang-6.0 if required
if [ "${CC}" == "clang-6.0" ]; then
sudo apt-get install clang-6.0
fi
# force installation of clang-8 if required
if [ "${CC}" == "clang-8" ]; then
sudo apt-get install clang-8
fi
fi
exit 0