.travis.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: cpp
  2. compiler: clang
  3. sudo: required
  4. dist: trusty
  5. group: edge
  6. git:
  7. depth: 1
  8. branches:
  9. except: master
  10. notifications:
  11. email: false
  12. irc:
  13. channels:
  14. on_success: always
  15. on_failure: always
  16. on_start: never
  17. webhooks:
  18. urls: https://webhooks.gitter.im/e/1fcf27221a4243f787d8
  19. on_success: always
  20. on_failure: always
  21. on_start: never
  22. before_install:
  23. - PROJECT_NAME='av-caster'
  24. - DEPS='libfreetype6-dev libgstreamer-plugins-base1.0-dev libx11-dev
  25. libxcursor-dev libxinerama-dev libxrandr-dev'
  26. - # the trusty version of libircclient is incompatible
  27. - LIBIRCCLIENT_MIRROR="http://mirrors.kernel.org/ubuntu/pool/universe/libi/libircclient"
  28. - LIBIRCCLIENT="libircclient1_1.8-2_amd64.deb"
  29. - LIBIRCCLIENTDEV="libircclient-dev_1.8-2_amd64.deb"
  30. - BUILD_DIR=$TRAVIS_BUILD_DIR/Builds/Makefile
  31. script:
  32. - echo "building 64-bit $PROJECT_NAME"
  33. - cd $BUILD_DIR
  34. - sudo apt-get update -qq
  35. - sudo apt-get install -y $DEPS
  36. - wget $LIBIRCCLIENT_MIRROR/$LIBIRCCLIENT
  37. - wget $LIBIRCCLIENT_MIRROR/$LIBIRCCLIENTDEV
  38. - sudo dpkg -i $LIBIRCCLIENT
  39. - sudo dpkg -i $LIBIRCCLIENTDEV
  40. - CFLAGS="-Wno-dangling-else -Wno-deprecated-register" make
  41. after_script:
  42. - echo "build stage ended"
  43. - ls -l $BUILD_DIR/build/