2016-06-28 21:53:08 +02:00
|
|
|
#!/bin/bash
|
2016-08-23 20:07:12 +02:00
|
|
|
|
2016-06-28 21:53:08 +02:00
|
|
|
# install osx deps for hyperion compile
|
2016-08-23 20:07:12 +02:00
|
|
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]
|
|
|
|
then
|
2016-06-28 21:53:08 +02:00
|
|
|
echo "Install OSX deps"
|
2016-08-07 18:39:45 +02:00
|
|
|
time brew update
|
|
|
|
time brew install qt5 || true
|
|
|
|
time brew install libusb || true
|
|
|
|
time brew install cmake || true
|
|
|
|
time brew install doxygen || true
|
2016-06-28 21:53:08 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# install linux deps for hyperion compile
|
2016-08-23 20:07:12 +02:00
|
|
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]
|
|
|
|
then
|
2016-06-28 21:53:08 +02:00
|
|
|
echo "Install linux deps"
|
2016-08-07 18:39:45 +02:00
|
|
|
sudo apt-get -qq update
|
|
|
|
sudo apt-get install -qq -y qtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python-dev libxrender-dev libavahi-core-dev libavahi-compat-libdnssd-dev doxygen
|
2016-06-28 21:53:08 +02:00
|
|
|
fi
|
|
|
|
|