440 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠 08271fda85 For Travis CI - misc. tweaks. [ci package]
- Perform shallow clone when building site documentation to speed up cloning process.
- Perform unshallow pull when packaging so that 'git describe' gives correct commit count since last tag.
- Only perform packaging when all the previous steps are successful. Reduce chances of binary package with not up-to-date documentation.
- When packaging for iOS platform, generate the documentation quietly (no stdout but still stream error to stderr).
2014-02-22 14:43:22 +08:00
Yao Wei Tjong 姚伟忠 c7fe5f6267 For Travis CI - fix packaging for iOS platform. [ci package] 2014-02-21 23:55:16 +08:00
Yao Wei Tjong 姚伟忠 5099928b58 Fix Windows build using Urho3D as external lib in Release config.
Detected by Travis CI build. With this change, FindUrho3D module should be able to find Urho3D libs in the following scenarios:
- only debug version is available
- only release version is available
- both debug version and release version are available

Request CI build to use a Release build configuration [ci package].
2014-02-21 21:54:32 +08:00
Yao Wei Tjong 姚伟忠 22f38857cc For Travis CI - Use Release configuration when packaging. [ci package] 2014-02-21 19:36:17 +08:00
Yao Wei Tjong 姚伟忠 89836f11fc For Travis CI - attempt to make packages on demand. [ci package] 2014-02-21 17:47:04 +08:00
Yao Wei Tjong 姚伟忠 30807ff796 For Travis CI - fix a typo in error handling execution path. [ci skip] 2014-02-18 20:58:38 +08:00
Yao Wei Tjong 姚伟忠 48eb60fd8e Rename 'magic' module to 'common' module to reflect its purpose better.
The purpose of Urho3D-CMake-common module is to store all the commonly used CMake commands and macros in one place so that they can be reused by other external projects using Urho3D as external library by simply including this module in their own CMakeList.txt.
2014-02-18 12:55:13 +08:00
Yao Wei Tjong 姚伟忠 ea1372e05b Add copyright protection for Travis CI setup. 2014-02-18 12:35:32 +08:00
Yao Wei Tjong 姚伟忠 cb4257a599 For Travis CI - main repo only has amalgamated build option for LuaJIT. 2014-02-17 23:04:00 +08:00
Yao Wei Tjong 姚伟忠 091bad25e4 For Travis CI - clean up the comment lines. alle grün :)
[ci skip]
2014-02-17 22:36:47 +08:00
Yao Wei Tjong 姚伟忠 83a5aae303 Fix Clang-Makefile Debug configuration build detected by OSX-CI.
For Travis CI - consider nothing to commit as OK to proceed to next step.
2014-02-17 21:43:39 +08:00
Yao Wei Tjong 姚伟忠 b0623e8965 For Travis CI - set MinGW cross-compiling build as mandatory to pass.
Preparation for OSX-CI build.
2014-02-17 19:44:37 +08:00
Yao Wei Tjong 姚伟忠 798eb597b6 Misc. bug fixes detected by CI build for Windows platform.
- Fix finding Urho3D library when only debug version is available.
- Keep the library dependencies in the list as they are, even if that means a same library being listed twice (to fix dynamic library build for Windows platform).
- MinGW cross-compiling toolchain already has PIC flag set by default, so skip setting it one more time (to suppress compiler warnings spam).
2014-02-17 01:57:04 +08:00
Yao Wei Tjong 姚伟忠 5f67c434bf For Travis CI - try to fix installation of MinGW-W64 packages.
Somehow apt-get in Travis-CI build environment does not auto install all the dependencies.
2014-02-15 19:37:07 +08:00
Yao Wei Tjong 姚伟忠 f3622e546a For Travis CI - fix quotation marks. 2014-02-15 19:02:03 +08:00
Yao Wei Tjong 姚伟忠 5a469eea39 Fix MinGW cross compiling build on Ubuntu host system.
Attempt to add CI build for Windows platform using MinGW cross compiling toolchain.
2014-02-15 18:55:09 +08:00
Yao Wei Tjong 姚伟忠 c8a8d15681 For Travis CI - attempt to fix 32-bit CI build. Skip Android SDK. 2014-02-13 00:05:32 +08:00
Yao Wei Tjong 姚伟忠 f95328ac0f For Travis CI - speedup CI build for pull requests. 2014-02-12 16:21:38 +08:00
Yao Wei Tjong 姚伟忠 357019e0f3 For Travis CI - subshell could not export var, so define it elsewhere. 2014-02-11 22:55:19 +08:00
Yao Wei Tjong 姚伟忠 d85d24ae82 For Travis CI - attempt to setup 32-bit and Android CI build. 2014-02-11 21:39:56 +08:00
Yao Wei Tjong 姚伟忠 48eb0497df Rename var name from <package>_INCLUDE_DIR to <package>_INCLUDE_DIRS.
See http://urho3d.prophpbb.com/topic9.html.
2014-01-21 15:57:07 +08:00
Yao Wei Tjong 姚伟忠 9cf8e75597 Enhance scaffolding task to show real path after new project creation. 2014-01-13 20:11:32 +08:00
Yao Wei Tjong 姚伟忠 a98b07eb44 For Travis CI - cleanup Rakefile script.
[ci skip]
2014-01-09 16:09:07 +08:00
Yao Wei Tjong 姚伟忠 9f0261c643 Fix Android build using Urho3D as external library.
Also:

- Enhance generated Eclipse project setting file to additionally use gcc/g++ error parser.

- Enhance cmake_gcc.sh script to fallback to find alternative CMake toolchains directory.

- Enhance Rakefile:
    - New scaffolding task to create new project using Urho3D as external library. At the moment only works in Unix-like platforms.
    - Build in Debug mode instead of Release mode as it should capture more potential issues.
2014-01-08 22:08:57 +08:00
Yao Wei Tjong 姚伟忠 8a53a7297a For Travis CI - explicitly request for bash shell to keep Ubuntu happy. 2014-01-07 23:02:33 +08:00
Yao Wei Tjong 姚伟忠 59b2b02888 Fix build using Urho3D as external library. Closes 112.
Add test cases in Travis CI to test build using Urho3D as external library in external (non Urho3D) project.
2014-01-07 22:03:32 +08:00
Yao Wei Tjong 姚伟忠 db9efdf375 For Travis CI - proceed with API update even when site is up-to-date.
The API documentation update is expected to fail when remote HEAD moves (i.e. there are new pushes while Travis CI build is in progress). Enhance the script one more time so that it always attempts to update API documentation on every build.
2014-01-05 13:03:56 +08:00
Yao Wei Tjong 姚伟忠 662fe84d3c For Travis CI - Replace GH_TOKEN as it was exposed in the build log.
Due to git push failure from detached HEAD, the error log in Travis CI build contains GH_TOKEN for worker account. A new GH_TOKEN is now generated.
Enhance the script so that it does not spit out any output or error when pushing. The script still can rely on command exit status, however.
2014-01-05 12:12:41 +08:00
Yao Wei Tjong 姚伟忠 ff1c73170a For Travis CI - attempt to fix git push from detached HEAD.
[ci skip]
2013-12-30 23:02:13 +08:00
Yao Wei Tjong 姚伟忠 87e28cef8e For Travis CI - append original commit hash and message for reference.
[ci skip]
2013-12-29 16:04:04 +08:00
Yao Wei Tjong 姚伟忠 f0f2d1f0e2 For Travis CI - ensure automated commit does not trigger another CI.
[ci skip]

Attempt to consolidate to use the same GitHub token for both urho3d/Urho3D.git and urho3d/urho3d.github.io.git repositories.
2013-12-28 21:30:54 +08:00
Yao Wei Tjong 姚伟忠 614cbe2bb6 For Travis CI - automate committing of scripting APIs changes.
[ci skip]
2013-12-28 16:08:22 +08:00
Yao Wei Tjong 姚伟忠 4da5b49361 For Travis CI - increase log level of apt-get command. [ci skip] 2013-12-27 12:30:20 +08:00
Yao Wei Tjong 姚伟忠 fcfeb6aad2 Add shared library type into Travis CI build test matrix.
Site documentation update is skipped when building shared library type.
2013-12-24 13:54:07 +08:00
Yao Wei Tjong 姚伟忠 2748d2bea6 Add abort mechanism to prevent error to bring the site documentation down. 2013-12-23 22:58:39 +08:00
Yao Wei Tjong 姚伟忠 c26f459d22 Move header & footer html template to urho.github.io.
Only do rsync when make doc is successful.
2013-12-22 18:15:17 +08:00
Yao Wei Tjong 姚伟忠 4031b4b2e4 Skip documentation update if CI build is invoked not on master branch.
Also:
- Setup doxygen configuration on the fly to use minimal theme and to produce SVG instead of PNG.
- Change how the GH_TOKEN is supplied as the GIT version in Travis VM (Ubuntu) does not seem to read the credentials from file store correctly.
- Only generate site documentation after the CI build test has passed.
- Add Ubuntu PPA to install a more recent version of Doxygen.
2013-12-22 17:17:50 +08:00
Yao Wei Tjong 姚伟忠 0b60fc327e Skip documentation update if CI build is invoked due to a pull request. 2013-12-21 16:45:32 +08:00
Yao Wei Tjong 姚伟忠 4031f7dd06 Update Rakefile to supply GIT credential at the correct directory. 2013-12-20 19:12:51 +08:00
Yao Wei Tjong 姚伟忠 bd39347e3a Attempt to automate deployment of site documentation using Travis CI. 2013-12-20 15:30:09 +08:00