Commit Graph

12 Commits

Author SHA1 Message Date
Loïc Blot 22567d107f Add clang format & skip build if no source file modified (#5433)
* [BUILD] Add clang format + build skipping

* Add clang-format tool to check codestyle.
Warning: it check the whole modified file, not the diff part, it's why it's lazy. Please also look if rules are perfect, i take the Linux codestyle from LLVM site

Fix issue #5415

* Skip building project if no file is modified
* Fix a wrong brace to trigger LINT

* Make lint step outside of unix build scope

* Add AccessModifierOffset: -8

* Typo fix & needs compile fix

* Fix header priorities
2017-03-25 19:12:18 +01:00
Loïc Blot 9878ce05e7 CI: Add memleak checking using valgrind (#5350)
Add a new step to check memleaks on our current unit tests suite
2017-03-06 20:34:02 +01:00
Loic Blot 61d1751dff Travis: build matrix improvements + CPP11 build 2016-10-06 00:28:24 +02:00
Pavel Puchkin c4e0d95c87 Implement OSX Travis builds 2016-02-04 13:22:32 +01:00
est31 31b6d26784 Fix occasionally failing travis builds
We require sudo right now, tell this travis, so that they don't try to
run it on their container based infrastructure.
2015-09-06 05:40:15 +02:00
ShadowNinja 93fcab952b Clean up and tweak build system
* Combine client and server man pages.
  * Update unit test options and available databases in man page.
  * Add `--worldname` to man page.
  * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
  * Disable server build by default on all operating systems.
  * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
  * Enable LevelDB, Redis, and FreeType detection by default.
  * Remove the `VERSION_PATCH_ORIG` hack.
  * Add option to search for and use system JSONCPP.
  * Remove broken LuaJIT version detection.
  * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
  * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
  * Clean up style of CMake files.
2015-03-27 15:00:48 -04:00
sfan5 04a1a446cf Build for win32 & win64 on Travis too 2014-12-06 19:56:31 +01:00
ShadowNinja feb3070299 Add gettext to Travis build
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-19 22:31:57 +10:00
Mikaela Suomalainen d6e28c19b5 .travis.yml: fix possible issues
* use `pool.sks-keyservers.net` as keyserver as it's often more reliable
than `keyserver.ubuntu.com` as you can see with Google.
* put script to multiple lines
    * build out-of-source
    * use two CPUs
        * make seems to fail if $(nproc) is used unlike WeeChat. ZNC has
          same issue.
* mark build as failed if one job fails immediately without waiting for
all builds to finish.
    * this doesn't stop jobs that didn't finish before build was marked
    failed.
2014-09-20 13:13:11 -04:00
Ilya Zhuravlev d6f0bf9eef Workaround failing Travis clang build. 2013-01-28 00:37:20 +04:00
Ilya Zhuravlev 33be32f278 Disable travis email notifications. 2013-01-22 01:43:56 +04:00
Ilya Zhuravlev 297186b834 Add .travis.yml 2013-01-22 01:37:58 +04:00