Browse Source

CI fixup before-install

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
473a8977ff
1 changed files with 6 additions and 8 deletions
  1. +6
    -8
      .travis/before_install.sh

+ 6
- 8
.travis/before_install.sh View File

@@ -2,19 +2,17 @@

set -e

if [ "${TARGET}" = "linux" ] || [ "${TARGET}" = "win32" ]; then
sudo dpkg --add-architecture i386
fi

sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio
sudo add-apt-repository -y ppa:kxstudio-debian/mingw
sudo add-apt-repository -y ppa:kxstudio-debian/toolchain

if [ "${TARGET}" = "linux-strict" ] || [ "${TARGET}" = "linux-juce-strict" ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
elif [ "${TARGET}" = "linux" ] || [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
if [ "${TARGET}" = "linux" ]; then
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo add-apt-repository -y ppa:kxstudio-debian/ubuntus
sudo dpkg --add-architecture i386
elif [ "${TARGET}" = "linux-strict" ] || [ "${TARGET}" = "linux-juce-strict" ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
fi

sudo apt-get update -qq


Loading…
Cancel
Save