BackgroundMusic/.travis.yml
Kyle Neideck 90bceb9887 On Travis, quit BGMApp before running the tests.
Also, log the installed audio devices and their audio IDs.

I think the tests are probably failing because the Travis VMs don't have
any audio devices. If so, this won't actually fix the tests, but it
should help us narrow it down.
2016-05-11 02:34:54 +10:00

21 lines
736 B
YAML

language: objective-c
os: osx
osx_image: xcode7.3
xcode_sdk: macosx10.11
sudo: required
branches:
only:
- master
install: true
script:
- yes | ./build_and_install.sh
- cat build_and_install.log
- find */build/Release/*/ -type f -exec md5 {} \;
- system_profiler SPAudioDataType
- say -a '?'
- osascript -e 'tell application "Background Music" to quit'
- xcodebuild -workspace BGM.xcworkspace -scheme 'Background Music Device' test
- xcodebuild -workspace BGM.xcworkspace -scheme 'Background Music' test
- xcodebuild -workspace BGM.xcworkspace -scheme 'BGMXPCHelper' test
- yes | ./uninstall.sh
- ls /Applications /Library/Audio/Plug-Ins/HAL /usr/local/libexec /Library/Application\ Support/Background\ Music