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
|
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.
|
2016-08-24 11:21:42 +02:00
|
|
|
sudo add-apt-repository ppa:beineri/opt-qt57-trusty -y
|
2016-08-24 11:04:33 +02:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y install qt57tools qt57base qt57webengine
|
2016-08-24 10:06:45 +02:00
|
|
|
fi
|