Collection of DPF-based plugins for packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.1KB

  1. language: cpp
  2. compiler:
  3. - clang
  4. - gcc
  5. before_script:
  6. - ./autogen.sh
  7. before_install:
  8. - eval "${MATRIX_EVAL}"
  9. - if [ $TRAVIS_OS_NAME == "osx" ]; then sudo sntp -sS time.apple.com; fi
  10. addons:
  11. apt:
  12. packages:
  13. - libc++-dev
  14. - libsdl2-dev
  15. - libgl1-mesa-dev
  16. script:
  17. - ./configure $PM_OPTS --prefix=$PWD/local && make -j6 && make install # build from checkout
  18. - export PMVER=$(./configure --version | cut -d ' ' -f 3 | grep -m 1 .) # get pM version
  19. - make dist && tar -zxf projectM-${PMVER}.tar.gz && cd projectM-${PMVER} && ./configure $PM_OPTS --prefix=$PWD/dist_install && make -j6 && make install # build from dist
  20. - echo "PWD=$PWD"
  21. - ls .
  22. - test -e src/projectM-sdl/projectMSDL
  23. - test -e src/libprojectM/libprojectM.la
  24. - test -e dist_install/share/projectM/fonts/Vera.ttf
  25. - test -d dist_install/share/projectM/presets
  26. - test -e dist_install/lib/libprojectM.la
  27. - test -e dist_install/include/libprojectM/projectM.hpp
  28. - test -e dist_install/include/libprojectM/Common.hpp
  29. - test -e dist_install/include/libprojectM/PCM.hpp
  30. - dist_install/bin/projectM-unittest
  31. # test on GCC and Clang
  32. matrix:
  33. include:
  34. # qt/pulseaudio/jack/sdl
  35. - os: linux
  36. dist: bionic
  37. addons:
  38. apt:
  39. packages:
  40. - qt5-default
  41. - qtdeclarative5-dev
  42. - libqt5opengl5-dev
  43. - libjack-dev
  44. - libpulse-dev
  45. - libc++-dev
  46. - libsdl2-dev
  47. env:
  48. - MATRIX_EVAL="PM_OPTS=\"--enable-qt --enable-jack --enable-pulseaudio --enable-sdl\""
  49. - os: linux
  50. dist: xenial
  51. addons:
  52. apt:
  53. packages:
  54. - qt5-default
  55. - qtdeclarative5-dev
  56. - libqt5opengl5-dev
  57. - libjack-dev
  58. - libpulse-dev
  59. - libc++-dev
  60. - libsdl2-dev
  61. env:
  62. - MATRIX_EVAL="PM_OPTS=\"--enable-qt --enable-jack --enable-pulseaudio --enable-sdl\""
  63. # osx/xcode/clang
  64. - os: osx
  65. osx_image: xcode12.2
  66. env:
  67. - MATRIX_EVAL="brew update && brew install sdl2"
  68. notifications:
  69. email:
  70. on_success: never
  71. on_failure: change