mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
30 lines
851 B
Bash
Executable File
30 lines
851 B
Bash
Executable File
#!/bin/sh
|
|
|
|
git fetch --tags
|
|
|
|
if test "$TRAVIS_OS_NAME" = "osx"; then
|
|
# Mac OS X.
|
|
brew update
|
|
brew install p7zip
|
|
brew link --force p7zip
|
|
brew install qt5
|
|
brew link --force qt5
|
|
brew install curl
|
|
brew link --force curl
|
|
brew uninstall gnu-sed
|
|
brew install gnu-sed
|
|
brew link --force gnu-sed
|
|
else
|
|
# Linux.
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
sudo add-apt-repository ppa:beineri/opt-qt-5.14.2-xenial -y
|
|
|
|
sudo apt-get update
|
|
sudo apt-get -y install gcc-7 g++-7 qt514tools qt514base qt514webengine qt514svg
|
|
sudo apt-get -y install openssl libssl-dev libgl1-mesa-dev
|
|
|
|
sudo update-alternatives --remove-all gcc
|
|
sudo update-alternatives --remove-all g++
|
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 50
|
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 50
|
|
fi |