1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-27 00:34:16 +01:00
strawberry-audio-player-win.../.travis.yml

32 lines
1.8 KiB
YAML
Raw Normal View History

2018-07-05 17:18:49 +02:00
language: C++
sudo: false
os:
2018-07-05 18:33:50 +02:00
# - linux
2018-07-05 17:18:49 +02:00
- osx
dist: trusty
compiler:
- gcc
- clang
before_install:
2018-07-05 17:34:58 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
2018-07-05 18:08:18 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libprotobuf-dev protobuf-compiler sqlite3 dbus ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libasound2-dev libxine2-dev libvlc-dev libphonon4qt5-dev ; fi
2018-07-05 18:17:36 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq qtbase5-dev qtbase5-dev-tools qtbase5-private-dev qtdeclarative5-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq ibgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev gstreamer1.0-alsa gstreamer1.0-pulseaudio ; fi
2018-07-05 18:08:18 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libchromaprint-dev libpulse-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libcdio-dev libmtp-dev libgpod-dev libimobiledevice-dev libplist-dev ; fi
2018-07-05 17:34:58 +02:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
2018-07-05 17:52:32 +02:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python ; fi
2018-07-05 17:42:16 +02:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glib pkgconfig protobuf protobuf-c qt ; fi
2018-07-05 17:34:58 +02:00
- 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
2018-07-05 18:56:14 +02:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install chromaprint ; fi
2018-07-05 18:44:46 +02:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export Qt5_DIR=/usr/local/opt/qt5/lib/cmake ; fi
2018-07-05 17:52:32 +02:00
before_script:
- mkdir build
- cd build
- cmake ..
script: make -j8