1
0

.travis.yml 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 --with-lua=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 --with-lua=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
  43. - lua5.1
  44. - liblua5.1-dev