.travis.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # tinygettext - A gettext replacement that works directly on .po files
  2. # Copyright (C) 2015 Ingo Ruhnke <grumbel@gmail.com>
  3. #
  4. # This software is provided 'as-is', without any express or implied
  5. # warranty. In no event will the authors be held liable for any damages
  6. # arising from the use of this software.
  7. #
  8. # Permission is granted to anyone to use this software for any purpose,
  9. # including commercial applications, and to alter it and redistribute it
  10. # freely, subject to the following restrictions:
  11. #
  12. # 1. The origin of this software must not be misrepresented; you must not
  13. # claim that you wrote the original software. If you use this software
  14. # in a product, an acknowledgement in the product documentation would be
  15. # appreciated but is not required.
  16. # 2. Altered source versions must be plainly marked as such, and must not be
  17. # misrepresented as being the original software.
  18. # 3. This notice may not be removed or altered from any source distribution.
  19. # Build file for https://travis-ci.org/
  20. #
  21. # Configuration manual:
  22. # http://docs.travis-ci.com/user/build-configuration/
  23. language: cpp
  24. compiler:
  25. - gcc
  26. - clang
  27. env:
  28. matrix:
  29. - BUILD_TYPE="Debug"
  30. - BUILD_TYPE="Release"
  31. before_install:
  32. - sudo apt-get update -qq
  33. - sudo apt-get install -y build-essential cmake
  34. script:
  35. - git clean -f
  36. - mkdir "build-$BUILD_TYPE"
  37. - cd "build-$BUILD_TYPE"
  38. - cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DWARNINGS=ON -DWERROR=ON
  39. - make
  40. # EOF #