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.

51 lines
1.4KB

  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. template:
  10. - "%{repository_name}#%{build_number} on %{branch}: %{message}"
  11. - " %{compare_url}"
  12. - " %{build_url}"
  13. on_success: change
  14. on_failure: always
  15. env:
  16. global:
  17. - secure: "ck6keK5tTbVCN7VGyKglS890hjovUNt2zyOydiyFtQDciaB/rvEwkKy4anMCEdZHFpGAPE9iBmNYaGUsD1Y+KifhhImVMbuThe2D8MLv5crSLRheYPbbmhO8MWPAxmQnuQhpwsUKZlHvUfX8nh+d0juNdqXklvhVml78Gi99QFw="
  18. matrix:
  19. - readline=ON libedit=OFF
  20. - readline=OFF libedit=ON
  21. addons:
  22. coverity_scan:
  23. project:
  24. name: "pjanouch/uirc3"
  25. description: "Experimental IRC client, daemon and bot"
  26. notification_email: p.janouch@gmail.com
  27. build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release"
  28. build_command: "make"
  29. branch_pattern: coverity_scan
  30. compiler:
  31. - clang
  32. - gcc
  33. before_install:
  34. # We need this PPA for a recent version of libedit
  35. - sudo add-apt-repository ppa:ondrej/php -y
  36. # We need this PPA for Lua 5.3
  37. - sudo add-apt-repository ppa:vbernat/haproxy-1.6 -y
  38. - sudo apt-get update -qq
  39. install:
  40. - sudo apt-get install -y libncursesw5-dev libreadline-dev libedit-dev
  41. liblua5.3-dev libffi-dev help2man expect
  42. before_script:
  43. - mkdir build
  44. - cd build
  45. script:
  46. - cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  47. -DWANT_READLINE=$readline -DWANT_LIBEDIT=$libedit
  48. - make all test
  49. - cpack -G DEB
  50. - ../test