.travis.yml 1.3 KB

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