.travis.yml 946 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Travis configuration for klish
  2. #
  3. # This ensures that contributors test all relevant configs
  4. # when working with branches on GitHub with Travis enabled.
  5. #
  6. language: c
  7. sudo: false
  8. os:
  9. - linux
  10. compiler:
  11. - gcc
  12. - clang
  13. script:
  14. # run autogen once
  15. - ./autogen.sh
  16. # build using expat
  17. - ./configure --prefix=/tmp/local --with-libexpat=yes
  18. - make clean
  19. - make
  20. - make install
  21. # build using roxml (not available)
  22. #- ./configure --prefix=/tmp/local --with-roxml=yes
  23. #- make clean
  24. #- make
  25. #- make install
  26. # full-featured release build
  27. - ./configure --prefix=/tmp/local --with-libxml2=yes --with-libxslt=yes
  28. - make clean
  29. - make
  30. - make install
  31. # full-featured debug build
  32. - ./configure --prefix=/tmp/local --with-libxml2=yes --with-libxslt=yes --enable-debug
  33. - make clean
  34. - make
  35. - make install
  36. addons:
  37. apt:
  38. packages:
  39. - libc6-dev
  40. - libexpat1-dev
  41. - libxml2-dev
  42. - libxslt1-dev