summaryrefslogtreecommitdiff
path: root/util/travis/script.sh
Commit message (Collapse)AuthorAge
* Update our tooling (Clang 5 -> 7, GCC 7 -> 8)Loïc Blot2019-03-14
| | | | | | | | This change permits to use up-to-date compilers, clang-tidy and clang-format It also refactor the tidy/format step to drop the binary selection from scripts and perform it directly in travis
* LINT: add clang-tidy step (#6295)Loïc Blot2018-04-01
| | | | | | | | | * Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back
* Add a build step to test non freetype builds (#6908)Loïc Blot2018-01-12
| | | * Add a build step to test non freetype builds
* Minetest for C++11 (CMakeLists + Travis)Loic Blot2017-06-04
| | | | | | | | | | | * Move GCC to GCC 6 & GCC 7 * Move Clang to Clang 3.6 & Clang 4.0 * LINT moves from Clang 3.9 to Clang 4.0 * Move XCode 7.3 to 8.0 * Use more travis tricks to install compilers instead of adding complexity to our build script * Clang format fixes on checked files (compat Cpp11 instead of Cpp03) * Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial) * Drop mingw cmake generated files and add them to gitignore
* Move LINT process in dedicated shell & fixLoic Blot2017-04-06
| | | | | Move lint to dedicated shell permit to use it from your shell easily to check what is wrong Also fix recent regressions in code style
* Clang format: only show errors on non whitelisted filesLoic Blot2017-04-06
|
* Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot2017-04-02
| | | | | | | | | | | | | | | | instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
* clang-format: add a whitelist (#5459)Loïc Blot2017-03-27
| | | | | | | | | If file is in the whitelist, softfail, else hard failure Some files are not in whitelist and marked as normal: * src/content_mapnode.h * src/cguittfont/xCGUITTFont.cpp * src/gameparams.h * src/profiler.cpp
* clang-format: fix counter increment & output (#5456)Loïc Blot2017-03-26
| | | clang-format: fix bash syntax on increment
* clang-format: limit diff to 50 files to prevent exceding the maximum travis ↵Loïc Blot2017-03-26
| | | | output (4MB) (#5455)
* Add clang format & skip build if no source file modified (#5433)Loïc Blot2017-03-25
| | | | | | | | | | | | | | | | | | | | * [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
* CI: Add memleak checking using valgrind (#5350)Loïc Blot2017-03-06
| | | Add a new step to check memleaks on our current unit tests suite
* Travis: Build server too for UNIXLoïc Blot2017-01-04
|
* Travis: Only trigger a compile, when C/C++ related files were touched (#4284)Tim2016-10-15
|
* Travis: build matrix improvements + CPP11 buildLoic Blot2016-10-06
|
* Tweak travis scriptShadowNinja2016-03-19
| | | | Exit if cd fails and don't insert '\' in string.
* Implement OSX Travis buildsPavel Puchkin2016-02-04
|
* Clean up and tweak build systemShadowNinja2015-03-27
| | | | | | | | | | | | | | | | * 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.
* Rename --do-unittests to --run-unittests as @Zeno- and @sfan5 requestedLoic Blot2015-02-24
|
* Unit tests must be done at integration process.Loic Blot2015-02-21
| | | | | | * Remove --enable-unittests and --disable-unittests and add --do-unittests function * --do-unittests function will exit 0 on success. * minetest and minetestserver binaries are launched with --do-unittests in travis build.
* Add LevelDB and redis to Travis Linux buildssfan52015-02-16
|
* Build for win32 & win64 on Travis toosfan52014-12-06