Experimental IRC client, daemon and bot
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.

45 lines
1.2KB

  1. sudo: required
  2. dist: trusty
  3. language: c
  4. notifications:
  5. irc:
  6. channels: "irc.janouch.name#dev"
  7. use_notice: true
  8. skip_join: true
  9. env:
  10. global:
  11. - secure: "ck6keK5tTbVCN7VGyKglS890hjovUNt2zyOydiyFtQDciaB/rvEwkKy4anMCEdZHFpGAPE9iBmNYaGUsD1Y+KifhhImVMbuThe2D8MLv5crSLRheYPbbmhO8MWPAxmQnuQhpwsUKZlHvUfX8nh+d0juNdqXklvhVml78Gi99QFw="
  12. matrix:
  13. - readline=ON libedit=OFF
  14. - readline=OFF libedit=ON
  15. addons:
  16. coverity_scan:
  17. project:
  18. name: "pjanouch/uirc3"
  19. description: "Experimental IRC client, daemon and bot"
  20. notification_email: p.janouch@gmail.com
  21. build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release"
  22. build_command: "make"
  23. branch_pattern: coverity_scan
  24. compiler:
  25. - clang
  26. - gcc
  27. before_install:
  28. # We need this PPA for a recent version of libedit
  29. - sudo add-apt-repository ppa:ondrej/php5-5.6 -y
  30. # We need this PPA for Lua 5.3
  31. - sudo add-apt-repository ppa:vbernat/haproxy-1.6 -y
  32. - sudo apt-get update -qq
  33. install:
  34. - sudo apt-get install -y libncursesw5-dev libreadline-dev libedit-dev
  35. liblua5.3-dev libffi-dev help2man expect
  36. before_script:
  37. - mkdir build
  38. - cd build
  39. script:
  40. - cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  41. -DWANT_READLINE=$readline -DWANT_LIBEDIT=$libedit
  42. - make all test
  43. - cpack -G DEB
  44. - ../test