From 693bade5a6d42f4c3de08af4752e12262e297731 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 5 Jul 2018 17:34:58 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index de52afa7c..e347e8f1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,14 @@ compiler: - gcc - clang before_install: -- sudo apt-get update -qq -- sudo apt-get install -qq [packages list] +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libprotobuf-dev protobuf-compiler ; fi +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libasound2-dev libxine2-dev ; fi +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq qtbase5-dev sqlite3 dbus ; fi +- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq gstreamer1.0-plugins-base gstreamer1.0-plugins-good ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glib pkgconfig cmake boost protobuf protobuf-c qt ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sqlite --with-fts ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gstreamer gst-plugins-base ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gst-plugins-good --with-flac ; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gst-plugins-bad gst-plugins-ugly ; fi