2016-08-24 10:37:48 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-08-24 11:04:33 +02:00
|
|
|
if test "$TRAVIS_OS_NAME" = "osx"; then
|
2016-08-24 10:37:48 +02:00
|
|
|
# Mac OS X.
|
|
|
|
brew update
|
2017-04-05 07:27:23 +02:00
|
|
|
brew install p7zip
|
|
|
|
brew link --force p7zip
|
2016-08-24 10:47:51 +02:00
|
|
|
brew install qt5
|
2016-08-24 11:33:06 +02:00
|
|
|
brew link --force qt5
|
2016-08-24 12:51:12 +02:00
|
|
|
brew install curl
|
|
|
|
brew link --force curl
|
2016-08-24 10:37:48 +02:00
|
|
|
else
|
|
|
|
# Linux.
|
2017-10-03 08:44:53 +02:00
|
|
|
sudo add-apt-repository ppa:beineri/opt-qt591-trusty -y
|
2016-08-24 11:04:33 +02:00
|
|
|
sudo apt-get update
|
2017-10-03 08:44:53 +02:00
|
|
|
sudo apt-get -y install qt59tools qt59base qt59webengine
|
2016-08-24 10:06:45 +02:00
|
|
|
fi
|