Files
oak-editor/.travis/install.sh
T
itsmattkc b9477f6695 use travis yaml to install brew packages rather than installing manually
This is actually the recommended way of installing packages in Travis rather
than installing them manually in the build script. This helps get around being
caught by Ruby version issues (which we have recently).

See the following link for more information:
https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images
2019-11-30 18:17:52 +11:00

13 lines
494 B
Bash

#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
#export PATH="/usr/local/opt/qt/bin:/usr/local/opt/python@2/libexec/bin:$PATH"
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get -y -o Dpkg::Options::="--force-overwrite" install qt510base qt510multimedia qt510svg qttools5-dev libavformat-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev cmake libopencolorio-dev libopenimageio-dev libopenexr-dev
source /opt/qt*/bin/qt*-env.sh
fi