Commit Graph

346 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
ccf6648eb3 Utilize new SDLActivity's get arguments feature. 2016-03-16 01:42:01 +08:00
Yao Wei Tjong 姚伟忠
39f73d673d For Travis & AppVeyor - update secret keys. 2016-03-04 01:26:21 +08:00
Yao Wei Tjong 姚伟忠
8c8e4c475a For Travis & AppVeyor - fix the CI mirror branch deletion logic. 2016-03-04 00:47:50 +08:00
Yao Wei Tjong 姚伟忠
f73f9e182f For Travis & AppVeyor - fix rake task for CI mirror branch deletion.
Since the ctest -VV does not reveal anything useful in troubleshooting the 39_CrowdNavigation demo, attempt to increase the verbosity of msbuild output to see it could reveal anything useful.
2016-03-02 17:21:51 +08:00
Yao Wei Tjong 姚伟忠
98006623a8 For Travis CI & AppVeyor - fix the primary/secondary VS CI build setup.
Revert previous changes to do a force push on the 'git subtree add' rake task as it is quite dangerous to do so. Trade off the convenience to prevent potential accident to lose the subtree branch due invalid operation.
2016-03-01 23:18:41 +08:00
Yao Wei Tjong 姚伟忠
877cfaf384 For AppVeyor - pass '-C Debug' to ctest invocation.
[ci only: VS]
Related to #1200.
2016-02-26 23:36:38 +08:00
Yao Wei Tjong 姚伟忠
a03a9f06a7 For Travis CI - fix .appveyor.yml generation for secondary AppVeyor CI.
Bitten by ancient Ubuntu 12.04 LTS again. Its Rake/yaml module still uses old convention to output "non-specific tag" in front of value with reserved yaml symbols although they are already escaped in quotes.
Related to #1200.
2016-02-26 19:18:30 +08:00
Yao Wei Tjong 姚伟忠
4cec292342 Attempt to fix secondary AppVeyor CI mirror branch creation.
Related to #1200.
2016-02-26 10:01:43 +08:00
Yao Wei Tjong 姚伟忠
fcbc0030c5 Move the crowd navigation sample unit test out of primary AppVeyor CI.
A new secondary AppVeyor CI mirro branch is now setup just for troubleshooting the offending sample.
Related to issue #1200.
2016-02-25 23:32:53 +08:00
Yao Wei Tjong 姚伟忠
5e41f1fb2e For Travis CI - reduce number of parallel build process for Web-CI. 2016-02-14 15:00:23 +08:00
Yao Wei Tjong 姚伟忠
87b9d482ab For CI - attempt to free up some disk space by removing redundant SDKs.
Close #1115.
2016-02-06 00:04:12 +08:00
Yao Wei Tjong 姚伟忠
4e2a7d6b19 For CI - reduce sample count for iOS, otherwise artifact is too big. 2016-01-27 14:17:43 +08:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Yao Wei Tjong 姚伟忠
ff0f2b4d61 Add rake tasks for Urho3D maintainers. 2016-01-25 15:58:29 +08:00
Yao Wei Tjong 姚伟忠
831da98b49 For Travis CI - ensure the commits arrive in the correct sequence. 2016-01-24 11:53:18 +08:00
Yao Wei Tjong 姚伟忠
45af671009 For Travis CI - increase the chance of successful iOS packaging build. 2016-01-24 00:51:23 +08:00
Yao Wei Tjong 姚伟忠
705e06dd1c Remove an unprintable \015 character in the cmake_codelite.sh.
The character had caused the script not operable.

For Travis CI and AppVeyor - bug fixes and improvement to make the CI builds more stable, hopefully.
2016-01-23 23:39:06 +08:00
Yao Wei Tjong 姚伟忠
91eb9861dc For Travis CI - install 32-bit readline software package. 2016-01-22 13:46:26 +08:00
Yao Wei Tjong 姚伟忠
295c4c6a05 For Travis CI - new commit msg pattern to trigger 64-bit only build. 2016-01-22 00:15:45 +08:00
Yao Wei Tjong 姚伟忠
cff5fe2d3d For Travis CI - enable URHO3D_LUAJIT build option on iOS CI builds.
Upgrade to CMake 3.4.1 for OSX CI build jobs.
Close #1146
2016-01-21 19:28:02 +08:00
Yao Wei Tjong 姚伟忠
7051e07110 For Travis CI - enable LuaJIT for Android 64-bit (arm64-v8a).
[ci skip]
2016-01-13 22:17:17 +08:00
Yao Wei Tjong 姚伟忠
431559c2bd For Travis CI & AppVeyor - unified 'ci' rake task and spring cleaning. 2016-01-06 16:38:58 +08:00
Yao Wei Tjong 姚伟忠
aca142e51d For Travis CI - fix out-of-space issue for iOS 64-bit packaging build.
[ci package] [skip appveyor] [ci only: OSX]
2015-12-27 16:20:00 +08:00
Yao Wei Tjong 姚伟忠
3732d7f341 For Travis CI - attempt to fix iOS 64-bit packaging build.
Fix #1079.
2015-12-22 21:35:03 +08:00
Yao Wei Tjong 姚伟忠
6e50708301 Modify the try_compile syntax to the one that CMake 2.8.7 supports.
Temporarily still exclude iOS and Android.
2015-12-17 22:27:03 +08:00
Yao Wei Tjong 姚伟忠
b3628625c9 For Travis CI - attempt to upgrade to CMake 3.2.3 across the board.
[skip appveyor]
2015-12-16 13:28:32 +08:00
Yao Wei Tjong 姚伟忠
17296764b5 For Travis CI - rpi-sysroot only contains strip down version in master.
Fall back to use Raspbian Wheezy again as Jessie has problem to build SDL library. However, the new Wheezy sysroot is now preinstalled with PulseAudio development library.
[ci skip]
2015-11-27 17:12:17 +08:00
Yao Wei Tjong 姚伟忠
761ae83c99 For Travis CI - install PulseAudio devel package for Linux CI builds.
Remove ALSA devel package for non-Linux CI builds as the new host tool building mechanism does not rely on it anymore.
2015-11-26 19:58:18 +08:00
Yao Wei Tjong 姚伟忠
7b49e63dc5 Skip installing Emscripten data files when destination var not defined.
For Travis CI - Speed up the CI builds on Mac OSX VM by removing build test for 32-bit OSX build. All OSX since Lion are 64-bit only.
[ci only: Emscripten, OSX] [skip appveyor]
2015-11-23 22:36:05 +08:00
Yao Wei Tjong 姚伟忠
90edf01c7c For Travis CI - avoid CMake 3.4 to fix #1043.
Another attempt to fix Android Intel Atom CI builds.

[skip appveyor] [ci package] [ci only: OSX, Android]
2015-11-22 16:47:38 +08:00
Yao Wei Tjong 姚伟忠
3ff517743b For Travis CI - set URHO3D_DEPLOYMENT_TARGET build option to 'generic'. 2015-11-22 09:48:43 +08:00
Yao Wei Tjong 姚伟忠
44bbcf8867 For Travis CI - fail the CI build job when packaging failed. 2015-11-22 09:48:43 +08:00
Yao Wei Tjong 姚伟忠
688f1f4892 For Travis CI - add debug print for iOS build. 2015-11-22 09:48:43 +08:00
Yao Wei Tjong 姚伟忠
eaf7c441bb For Travis CI - attempt to fix iOS CI builds.
[ci only: OSX]
Close #1043
2015-11-16 19:37:24 +08:00
Yao Wei Tjong 姚伟忠
c073488069 For AppVeyor - fix artifact upload to sourceforge.net.
[ci package]
2015-11-09 18:18:12 +08:00
Yao Wei Tjong 姚伟忠
7474fe4168 For Travis CI - manually install cmake as it is being missed out again.
Bump up the OSX deployment target all the way to El Capitan as this newer OSX image does not have the lower SDK version installed.
Attempt to fix a cp permission issue.
[ci skip appveyor] [ci only: OSX]
2015-11-05 23:33:47 +08:00
Yao Wei Tjong 姚伟忠
d15c70cd0b For Travis CI - attempt to use the newer OSX VM image.
[ci skip appveyor] [ci only: OSX]
2015-11-05 23:11:09 +08:00
Yao Wei Tjong 姚伟忠
60e971eefe For Travis CI - add new CI job for RPI2 with NEON switch on. 2015-10-17 11:39:19 +08:00
Yao Wei Tjong 姚伟忠
9de78c0a3d Refactor dependency setup for 'doc' target. Close #879.
The doc target now only really does its build action when it detects its documentation is out of date, similar to how other targets behaves.
2015-09-30 10:04:30 +08:00
Yao Wei Tjong 姚伟忠
f34205fd3b More scaffolding for Clang-tools build. Pardon our dust.
[ci only: Annotate]
2015-09-26 23:35:33 +08:00
Yao Wei Tjong 姚伟忠
1fcf2a84ea For Travis CI - tighten up to only upgrade GCC & CMake for 1 CI build.
Test CI builds for all CI mirror branches after clearing the cache. [ccache clear] [ci annotate]
2015-09-23 18:33:54 +08:00
Yao Wei Tjong 姚伟忠
90ff681a36 For Travis CI - fix Linux 32-bit CI build.
[ci only: master]
2015-09-23 18:13:59 +08:00
Yao Wei Tjong 姚伟忠
36eb140993 For Travis CI - upgrade GCC & CMake for Clang-tool building on the fly.
[ci only: Annotate]
2015-09-23 17:52:05 +08:00
Yao Wei Tjong 姚伟忠
e798ee4dcf For Travis CI - setup build infra for test running Autobinder tool.
[ci only: Annotate]
2015-09-23 13:38:28 +08:00
Yao Wei Tjong 姚伟忠
4969021b87 For Travis CI - use same commit message for all CI mirror branches.
[ci scan]
2015-09-23 11:39:33 +08:00
Yao Wei Tjong 姚伟忠
448f3ebf44 Fix the Rewriter not saving to filesystem issue.
It turns out that RefactoringTool and RefactoringCallback classes are not made for each other.
For Travis CI - attempt to push the annotated source files into a new branch. DO NOT check out from this branch, instead just use GitHub GUI to browse through the changes.
[ci only: Annotate]
2015-09-20 15:57:37 +08:00
Yao Wei Tjong 姚伟忠
8bbcdff135 For Travis CI - only do package upload when main script is successful. 2015-09-16 16:54:17 +08:00
Yao Wei Tjong 姚伟忠
b3e01a1424 Add another skeleton project for for script binding extractor tool.
[ci only: Annotate]
2015-09-16 00:12:46 +08:00
Yao Wei Tjong 姚伟忠
f2289b10e1 Avoid hardcoding to improve the chance of using it on Windows host.
[ci annotate]
2015-09-15 14:57:06 +08:00
Yao Wei Tjong 姚伟忠
f9fd477103 For Travis CI - attempt to fix Annotator linking issue on CI server.
[ci only: Annotate, Emscripten]
2015-09-14 22:01:12 +08:00
Yao Wei Tjong 姚伟忠
12d6cfa322 For Travis CI - setup the build to use the upgraded GCC compiler.
[ci only: Annotate]
2015-09-14 20:44:30 +08:00
Yao Wei Tjong 姚伟忠
20e9cebb03 For Travis CI - fix the software package deps for Annotate build.
[ci only: Annotate]
2015-09-14 20:32:39 +08:00
Yao Wei Tjong 姚伟忠
440bc484e7 Add skeleton project for Annotator tool.
Currently it just dumps the AST out instead of actually annotating.
[ci only: master, Annotate]
2015-09-14 20:13:26 +08:00
Yao Wei Tjong 姚伟忠
da0fa9798c For Travis CI - export environment variables to libclang.
[ci skip]
2015-09-12 21:08:09 +08:00
Yao Wei Tjong 姚伟忠
0043642151 For Travis CI - setup build job for annotate rake task.
[ci only: Annotate]
2015-09-12 20:52:37 +08:00
Yao Wei Tjong 姚伟忠
7353063c3b For Travis CI - remove redundant job matrix for Emscripten CI build.
[ci only: Emscripten]
2015-09-06 00:29:00 +08:00
Yao Wei Tjong 姚伟忠
dbfd0ca65c Add new job matrix for linked LLVM bitcode Emscripten CI build.
Upload HTML5 samples built from this new job matrix.
[ci package] [ci only: Emscripten]
2015-09-05 23:21:23 +08:00
Yao Wei Tjong 姚伟忠
86194164b5 Avoid name clash with EMSCRIPTEN environment variable. Close #871.
[ci only: Emscripten]
2015-09-03 13:41:31 +08:00
Yao Wei Tjong 姚伟忠
b2f6cf440f For Travis CI - switch to use Emscripten SDK from its master branch.
[ci only: Emscripten]
2015-09-02 14:19:28 +08:00
Yao Wei Tjong 姚伟忠
0e031852d1 Suppress most of the false positive on out-of-bound access.
The affect of this change can only be checked after the next Coverity Scan run on this Thursday.
2015-08-16 16:44:19 +08:00
Yao Wei Tjong 姚伟忠
11ae5e0602 Another attempt to workaround #743 by keeping the preinstalled version.
[ci only: Android]
2015-06-12 19:05:16 +08:00
Yao Wei Tjong 姚伟忠
6bd02fe805 Attempt fo fix #743 by pairing latest SDK tools /w latest build tools.
[ci only: Android]
2015-06-12 17:01:46 +08:00
Yao Wei Tjong 姚伟忠
3b099a149b For Travis CI - all bar none for Emscripten samples.
Adjust log messages for consistency sake.
2015-05-23 21:53:55 +08:00
Yao Wei Tjong 姚伟忠
5fd01b739e For Travis CI - add some of the excluded samples back to Emscripten CI.
Fix package upload rake task failed to skip cleanly for MinGW CI build for D3D9.
Test [ci package] for [ci only: Emscripten] again.
2015-05-23 20:37:37 +08:00
Yao Wei Tjong 姚伟忠
2b3a2aabd2 For Travis CI - remove Emscripten CI checkpoints. 2015-05-22 18:51:07 +08:00
Yao Wei Tjong 姚伟忠
0627d83f3a For Travis CI - attempt to migrate Emscripten CI build to new infra.
[ci only: Emscripten]
2015-05-22 18:51:07 +08:00
Yao Wei Tjong 姚伟忠
5d3aa98b3b Merge upstream change on Android/CMake toolchain. Add NDK r10e support.
[ci only: Android]
2015-05-20 14:32:06 +08:00
Yao Wei Tjong 姚伟忠
5b1af2d116 For Travis CI - increase Coverity Scan threshold to 100. 2015-05-19 13:56:45 +08:00
Yao Wei Tjong 姚伟忠
f77985447d For Travis CI - set the default download in SF.net automatically. 2015-05-18 10:56:34 +08:00
Yao Wei Tjong 姚伟忠
8238ba6ec8 For Travis CI - correct typo and move the scan threshold to master. 2015-05-17 13:19:28 +08:00
Yao Wei Tjong 姚伟忠
8fe7f95c0a For Travis CI - limit the Converity Scan frequency based on cache miss.
Current scanning threshold is set to 20, i.e. it only scan when there are 20 or more actual compilation call.

Only send job notification email to human. Only propagate root commit SHA and message submitted by human.
2015-05-17 13:01:11 +08:00
Yao Wei Tjong 姚伟忠
4f0647e4a2 For Travis CI - temporarily disable ccache for Emscripten CI build.
When Emscripten has released 1.32 it will be reenabled again.
[ci only: Emscripten]
2015-05-16 10:38:43 +08:00
Yao Wei Tjong 姚伟忠
dfab28fed6 Fix iOS host-tool building for Urho3D_universal target.
For Travis CI - when releasing disregard commit message instruction from the last commit being tagged. This is to ensure all CI jobs are run for releasing the artifacts.
[ci package]
2015-05-15 19:21:25 +08:00
Yao Wei Tjong 姚伟忠
1dd83a7dfe For Travis CI - generalize detection of moving HEAD for topic and PR.
However, we still have to temporarily scale back to not perform full CI jobs on PR because PR from fork cannot get the secured variables decrypted and hence no way to create CI mirror branches.
2015-05-12 22:18:00 +08:00
Yao Wei Tjong 姚伟忠
09a5f71847 For Travis CI - fail the job when site update or package upload failed.
For topic and PR CI mirror branches, make another attempt to download the cache from the "base" CI mirror branch before creating a new git branch.
2015-05-11 17:36:09 +08:00
Yao Wei Tjong 姚伟忠
59e5e65a98 For Travis CI - attempt to enable ccache for remaining Android CI jobs.
[ci only: Android, OSX, Emscripten]
2015-05-10 23:55:51 +08:00
Yao Wei Tjong 姚伟忠
e38d84414f For Travis CI - attempt to enable ccache on Emscripten CI build.
[ci only: Emscripten]
2015-05-10 23:43:53 +08:00
Yao Wei Tjong 姚伟忠
f55d06bc6b For Travis CI - attempt to enable ccache on OSX CI build.
[ci only: OSX]
2015-05-10 23:42:54 +08:00
Yao Wei Tjong 姚伟忠
3df58d874f For Travis CI - add option to perform on selected CI jobs only. 2015-05-10 23:40:49 +08:00
Yao Wei Tjong 姚伟忠
fb84bcf179 For Travis CI - tune down email notifications frequency.
Add checkpoint for Emscripten CI build and use it to determine whether to skip make test and/or scaffolding test when running short of time.

For Travis CI - perform the full CI jobs for topic branches and PRs.

For Travis CI - use custom data in .travis.yml for excluding samples.
2015-05-08 18:39:14 +08:00
Yao Wei Tjong 姚伟忠
bac54db64c For Travis CI - add notification email back for coverity scan.
Strangely it won't proceed to perform the scan otherwise.
For Travis CI - when performing API documentation update, delayed the creation of CI mirror branches.
2015-05-07 18:03:48 +08:00
Yao Wei Tjong 姚伟忠
03d53731fa For Travis CI - do not send any notification email for coverity scan.
Analysis metrics can always be found in the coverity scan web interface. Test [ci scan].
2015-05-02 08:51:56 +08:00
Yao Wei Tjong 姚伟忠
0de428ba3e For Travis CI - skip mirror deletion if there are more commits. 2015-05-02 01:08:27 +08:00
Yao Wei Tjong 姚伟忠
7f55f78a36 For Travis CI - hack Travis to support multi-docs .travis.yml stream.
The CI mirror branches are now created and deleted on the fly. No more overhead to maintain them (i.e. resolving rebase conflict).
This is partial implementation of what has been requested in this feature request https://github.com/travis-ci/travis-ci/issues/3719.
2015-04-29 21:51:15 +08:00
Yao Wei Tjong 姚伟忠
886cc93d7a For Travis CI - fix RPM packaging build for Raspberry-Pi.
It was broken before the migration to the new build infra.
2015-04-24 22:48:28 +08:00
Yao Wei Tjong 姚伟忠
c74dda6f75 For Travis CI - Migrate to new container-based build infra. 2015-04-22 15:19:02 +08:00
Yao Wei Tjong 姚伟忠
f94d4d26d1 Enhance MinGW toolchain file to support ccache.
This is in preparation for using ccache in the container-based CI builds later.
Reinstate MinGW 32-bit D3D9 build jobs which were accidentally got deleted.
2015-04-16 14:34:06 +08:00
Yao Wei Tjong 姚伟忠
38361a2c0f For Travis CI - disable D3D11 CI build jobs for now.
Ubuntu 12.04 LTS does not have up-to-date D3D11 headers. Travis CI is long overdue to upgrade their OS. See https://github.com/travis-ci/travis-ci/issues/2046.
It appears that their new container-based build infrastructure is also runs on Ubuntu 12.04 LTS. So, no choice but to disable thos new CI build jobs for now.
2015-03-31 19:18:10 +08:00
Yao Wei Tjong 姚伟忠
47b64f0364 For Travis CI - Remove duplicated CI job. 2015-03-30 23:08:11 +08:00
Yao Wei Tjong 姚伟忠
41d9ab29a9 For Travis CI - add CI build jobs for Direct3D 11.
Fix Emscripten build due to earlier faulty fix on MinGW build to support building of PackageTool for both host and target systems.
2015-03-30 23:02:01 +08:00
Yao Wei Tjong 姚伟忠
8be7896e44 For Travis CI - switch back to use Linux CI build environment.
Add Emscripten-CI into the CI-mirror branches list.
2015-02-13 21:42:07 +08:00
Yao Wei Tjong 姚伟忠
00410603a1 Do not install NinjaSnowWar.sh and Editor.sh for Emscripten build. 2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
c48a46303b Use -g4 flag for Emscripten Debug configuration build.
[ci package]
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
24e70ecd60 For Travis-CI - reduce number of samples in Emscripten build.
Also remove CI build for shared lib type. It is anyway just an emulation as Emscripten does not support dynamic library (yet) and our earlier issue with emar for static lib type has been fully resolved. Test [ci package] for Emscripten.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
a77e24d8ad Enable external project macro users to find and use PackageTool.
Adjust software packaging for Emscripten.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
85c893a83d Attempt to enable CI build for Emscripten. 2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
e1a64d840e Disable CI build for Emscripten port for now. 2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
cfff44873f Bump missed out files. [ci skip]
$ for f in `git grep -l '2008-2014 the Urho3D project'`; do perl -pi -e 's/2008-2014 the Urho3D project/2008-2015 the Urho3D project/g' $f; done
2015-02-01 08:16:05 +08:00
Yao Wei Tjong 姚伟忠
1b465fb704 Clean up FindUrho3D.cmake module.
Add new build options to override 64-bit Linux package setup for Debian and Redhad -based host systems.
For Travis CI - fix 64-bit RPM package generation to install library in /usr/lib64, also fix external project build test using Urho3D library from SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
7b17a049a0 For Travis CI - revise ci_rebase task to auto prepare new CI branches.
Related to commit b902e863e6.
2014-12-04 22:35:57 +08:00
Yao Wei Tjong 姚伟忠
b902e863e6 For Travis CI - add support for multi-platforms CI for topic branch. 2014-12-03 17:05:17 +08:00
Yao Wei Tjong 姚伟忠
aaec0d9200 For Travis CI - use Release build configuration when build on bad VM.
Now this rule is applicable for all target platforms (Linux, Windows, Android, and Raspberry-Pi) which have their CI builds run on Linux/Ubuntu host VM. Mac OSX and iOS CI builds are not affected by this rule since they run on OSX host VM which is not susceptible to "bad VM" issue. The idea is to reduce memory consumption during the linking phase and thus avoiding the process being killed due to insufficient memory in the VM.
2014-11-27 20:19:58 +08:00
Yao Wei Tjong 姚伟忠
e7b0808b12 Misc. fixes in the build script to improve the release mechanism.
The following changes address the shortcomings of our current release mechanism detected from our last release.
- Define and set RELEASE_TAG environment variable only when a git tag conform to a release tagging matching regex "\d+\.\d+".
- Change the logic to allow the automated rake tasks to be triggered on a 'tag' branch properly.
- Fix the 'git rebase' command to use the branch pointed by TRAVIS_BRANCH environment variable as baseline, instead of assuming it to be always 'origin/master' as before.
- Change Urho3D library versioning CMake module to omit the version patch number when there is none, i.e. 1.32 instead of 1.32.0.
2014-11-23 20:01:32 +08:00
Yao Wei Tjong 姚伟忠
17b8150f31 For Travis CI - consider 'tag' branch as master branch. 2014-11-22 10:27:24 +08:00
Yao Wei Tjong 姚伟忠
f28d29cf2d For Travis CI - clean up Rakefile, only download for DirectX CI build. 2014-10-30 18:07:14 +08:00
Yao Wei Tjong 姚伟忠
c3646224fc For Travis CI - temporarily allowed the new CI builds to fail.
The MinGW packages from Ubuntu 12.04 LTS are too old to pull this off.
2014-10-30 13:37:39 +08:00
Yao Wei Tjong 姚伟忠
899f8334f3 For Travis CI - add CI builds for MinGW + URHO3D_OPENGL=0 combination.
These new CI builds will perform the build test on the DirectX code path which is currently not covered in any of our existing CI.
The CI builds should also improve the detection of any breakage caused by build script changes for MinGW compiler.
2014-10-30 12:33:11 +08:00
Yao Wei Tjong 姚伟忠
1cdfd2ef19 For Travis CI - only upload build artifacts from GCC compiler.
Exclude uploading build artifacts from Clang compiler for now as we have too many variants already.
Test [ci package].
2014-10-03 20:56:54 +08:00
Yao Wei Tjong 姚伟忠
fca678c3b9 For Travis CI - add CI build using Clang, optimize for MinGW install. 2014-10-03 18:13:31 +08:00
Yao Wei Tjong 姚伟忠
ea5a4bbf2a For Travis CI - fix the condition as the env var may not be defined. 2014-09-29 18:42:41 +08:00
Yao Wei Tjong 姚伟忠
e06762db76 On non-MSVC compiler, default to 64-bit when host compiler is.
The default can be overriden using URHO3D_64BIT build option as before.
2014-09-29 18:28:08 +08:00
Yao Wei Tjong 姚伟忠
a1a889c21a For Travis CI - fix MingW 32-bit CI build. 2014-09-15 23:21:18 +08:00
Yao Wei Tjong 姚伟忠
04328aeed2 For Travis CI - when cross-compiling don't touch native toolchain. 2014-09-15 22:30:01 +08:00
Yao Wei Tjong 姚伟忠
036fe0959c For Travis CI - code cleanup but add more memory diagnostics.
[ci package]

- Simplify the check on environment variable containing the commit-ish used in the 'git describe' command.
- Shuffle the rebase order in 'ci_rebase' rake task, move the OSX-CI rebase to the last as OSX Travis-CI build environment is extremely slow lately (has longer job queue).
- Improve 'android' rake task to only create named AVD for CI test when necessary and to turn off graphics acceleration explicitly when starting the emulator in CI environment.
- Add more memory diagnostics to help in investigation of process being killed by Travis CI upstream issue reported in #430.
2014-09-12 13:52:00 +08:00
Yao Wei Tjong 姚伟忠
19577d2fd0 For Travis CI - change to use git fetch 'unshallow' instead of 'depth'.
The hard-coded depth=2000 may not be a good estimate of how deep we should go in order to get the last annotated tag. Also move the operation to 'ci' rake task so it can be shared for all the Travis-CI build environments.
2014-09-09 22:44:39 +08:00
Yao Wei Tjong 姚伟忠
0e9f54da9f For Travis CI - move Raspberry-Pi build to its own CI mirror branch. 2014-09-08 14:26:38 +08:00
Yao Wei Tjong 姚伟忠
e613cbde91 For Travis CI - refine abort message for 'android' rake task.
Test [ci package] for Android-CI build.
2014-09-07 18:59:36 +08:00
Yao Wei Tjong 姚伟忠
e38b165906 For Travis CI - move Android CI build to its own CI mirror branch. 2014-09-06 14:06:43 +08:00
Yao Wei Tjong 姚伟忠
aa7068d332 For Travis CI - test run Android APK in emulator as part of CI build.
This should prevent the similar incident like SONAME breaking Android APK went unnotice for days.
Also:
- Revert back the workaround attempt for the RPI build as it did not work. The build error problem has been reported to Travis-CI upstream issue log.
- Add new rake task to automate Android APK testing (tested on Linux platform only).
2014-09-06 01:41:47 +08:00
Yao Wei Tjong 姚伟忠
80df272f0f For Travis CI - another attempt before cutting RPI lose for good. 2014-09-04 18:51:02 +08:00
Yao Wei Tjong 姚伟忠
9917635483 For Travis CI - workaround RPI build intermittent build error.
Currently there is no permanent solution to the intermittent build environment setup issue. In order to avoid false alarm on the overall build status, this commit temporarily group the git clone step as part of the script run. As such when it exits non-cleanly, it would be treated as build failure instead of build error. But since we have already set the RPI CI build to allow failure, their 'failures' (if it happens) should not affect the overall build status.
2014-09-04 18:19:04 +08:00
Yao Wei Tjong 姚伟忠
f58d8563e8 For Travis CI - misc. minor refactoring and bug fixes.
- Add Android API level environment variable.
- Prevent unnecessary enabling of CMake testing configuration when the build test cannot be performed for specific target platform.
- Fix missing 'abort' command on a number of error handling branches.
2014-09-03 15:17:40 +08:00
Yao Wei Tjong 姚伟忠
e5ec24ca64 For Travis CI - add memory diagnostics before attempting to git clone.
Temporary adjust build matrix to ignore RPI CI build error.
2014-09-02 16:58:21 +08:00
Yao Wei Tjong 姚伟忠
ff46a2032d For Travis CI - cleanup and sleep before retrying the cloning job.
Don't read between the lines :)
It has been proven on our CI build that just using 'travis_retry git clone ...' alone will never going to work.
2014-09-02 13:32:21 +08:00
Yao Wei Tjong 姚伟忠
03e99708e4 For Travis CI - use travis_retry when cloning RPI sysroot and tool.
Test [ci package].
2014-09-02 01:37:22 +08:00
Yao Wei Tjong 姚伟忠
6df619c383 For Travis CI - Refactor to terminate early on any errors.
The errors include: git clone error, apt-get update/install error, download error, etc.
The purpose of this refactor is to clearly distinguish between Travis CI build error (caused by error on Travis side) and Travis CI build failure (caused by build or test failure on Urho3D side). Previous setup sometimes allowed build environment in error state to continue to proceed with software building phase due to inefficient branching logic.
2014-09-02 00:15:10 +08:00
Yao Wei Tjong 姚伟忠
89fc5f3b07 For Travis CI - Misc. minor changes to improve CI build.
- Remove other temporary workaround for MinGW CI build to see if changing to 'Release' build configuration is enough to fix the insufficient memory problem.
- Attempt to fix intermitten network problem when installing software packages for Rasperry-Pi CI build by delaying the massive sysroot git clone to the last. Read this blog (http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/) on general network issue plaguing travis-ci.org.
2014-09-01 15:00:18 +08:00
Yao Wei Tjong 姚伟忠
0fffb18972 For Travis CI - Fix downloading from wrong Android NDK arch. 2014-08-28 08:17:45 +08:00
Yao Wei Tjong 姚伟忠
cda4637106 For Travis CI - Revert back to always install ALSA for all platforms.
Straightly speaking ALSA is not required while cross-compiling to other non-Linux targets. However, in the CI build we have enabled Lua or LuaJIT and because of that we have to build some native tool(s). The problem is when configuring native project on a Linux build system, we could not inform our CMake script to ONLY configure for the tool building. Currently the script always attempt to configure most of things including SDL which in turns depends on ALSA, although actually the Lua tool building does not require it.
[ci package]
2014-08-28 01:04:35 +08:00
Yao Wei Tjong 姚伟忠
46f4f6fa24 For Travis CI - Upgrade to Android NDK r10 and SDK r23.0.2.
Closes #429.
2014-08-27 23:52:14 +08:00
Yao Wei Tjong 姚伟忠
5761839635 For Travis CI - Install libasound2-dev only when targetting Linux.
Closes #430.
2014-08-27 23:52:14 +08:00
Yao Wei Tjong 姚伟忠
6aa37fc87f Set default tab width to 2 for vi editor only for these two files. 2014-08-08 14:24:29 +08:00
Yao Wei Tjong 姚伟忠
18bf6484cf For Travis CI - wrap package installation steps with 'travis_retry'.
Occasionally package installation could fail due to timed out or other unknown one-off network issue, using 'travis_retry' wrapper to retry the installation should fix this.
2014-07-21 11:08:43 +08:00
Yao Wei Tjong 姚伟忠
c26038fe05 Attempt to fix the MinGW failed build due to linker runs out of mem.
Add -fno-keep-inline-dllexport compiler option when building using MinGW in order to reduce the object size and the link time (and thus hopefully reduce the linker memory consumption as well).
2014-07-20 19:39:05 +08:00
Yao Wei Tjong 姚伟忠
31360310ca For Travis CI - reduce parallel build jobs to 2 for MinGW static lib.
This is necessary because the last two CI builds have failed for MinGW static library build due to insufficient memory during linking phase.

Also:
- Increase the number of build artifacts being kept in the SourceForge.net.
- Fixes #380 by skipping Mach-O binary (universal library) for iOS 64-bit build. The Urho3D lib in the build artifact will only contain 64-bit arch, 32-bit arch and iphonesimulator are excluded for now to reduce the build time.
2014-07-04 00:01:28 +08:00
Yao Wei Tjong 姚伟忠
f15c75d2ef For Travis CI - attempt to perform CI build using multiple build jobs. 2014-06-11 13:13:57 +08:00
Yao Wei Tjong 姚伟忠
95d344522e For Travis CI - fix broken dependencies for non 64-bit builds.
Closes #337.
2014-05-01 11:43:34 +08:00
Yao Wei Tjong 姚伟忠
46285baf97 Refactor build scripts to group Urho3D specific build option.
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Yao Wei Tjong 姚伟忠
95ec049a0b For Travis CI - fix Raspberry Pi package build. [ci package] 2014-03-26 00:05:57 +08:00
Yao Wei Tjong 姚伟忠
106da642ae For Travis CI - make Raspberry Pi CI build as mandatory to pass.
[ci package]
2014-03-22 15:18:40 +08:00
Yao Wei Tjong 姚伟忠
ed1f820f9b For Travis CI - workaround FindALSA cmake module bug on Ubuntu 12.04. 2014-03-21 21:03:33 +08:00
Yao Wei Tjong 姚伟忠
dd1cbc9499 For Travis CI - attempt to perform CI build for Raspberry Pi platform. 2014-03-21 20:35:59 +08:00
Yao Wei Tjong 姚伟忠
41549655ce Build both armeabi and armeabi-v7a ABIs when packaging for Android.
- Fix android toolchain to correctly set the library output path when ANDROID_ABI build option changes.
- For Travis CI - download and setup Android SDK on the fly when performing Android packaging.
- Final apk is included in the binary package.
2014-03-19 23:57:48 +08:00
Yao Wei Tjong 姚伟忠
8db9061782 For Travis CI - another attempt to reshuffle for better upload grouping.
[ci skip]
2014-03-15 20:47:34 +08:00
Yao Wei Tjong 姚伟忠
a7d43dc67b For Travis CI - reshuffle build matrix to optimise build jobs. 2014-03-15 18:13:46 +08:00
Yao Wei Tjong 姚伟忠
68be9a9e57 Fix MINGW_ROOT variable value computation when not being provided. 2014-03-11 20:03:20 +08:00
Yao Wei Tjong 姚伟忠
dce461469f For Travis CI - detect release tag and do the necessary automatically.
When a release tag is detected in a commit, instruct CI build to perform a released package build that uploaded into release directory instead of Snapshots directory.
2014-03-09 16:42:30 +08:00
Yao Wei Tjong 姚伟忠
1a7d032425 Misc. minor fixes. 2014-03-02 16:16:50 +08:00
Yao Wei Tjong 姚伟忠
8b4fcb9386 For Travis CI - use 'travis_retry' command to improve the odd.
See https://github.com/travis-ci/travis-ci/issues/2000.
[ci skip]
2014-02-26 14:39:09 +08:00
Yao Wei Tjong 姚伟忠
77a87b824c For Travis CI - escape bracket character to fix commit message parsing.
[ci skip]
2014-02-25 15:50:46 +08:00
Yao Wei Tjong 姚伟忠
c306e7d57a For Travis CI - another attempt to fix iOS 64-bit packaging.
[ci package]

- When performing CI build for iOS platform, suppress all warnings. Non-CI build will still receive them.
- Automatically instruct Travis CI to do packaging when AngelScript or LuaScript API have changed.

Additionally, enhance iOS-specific Urho3D_universal custom target to perform initial check to see a rebuild is really necessary.
2014-02-24 17:21:56 +08:00
Yao Wei Tjong 姚伟忠
da6c5e54ad For Travis CI - fix Linux RPM packaging and iOS 64-bit packaging.
[ci package]

Travis-CI Ubuntu build environment requires additional software package to generate RPM package.
Travis-CI does not like iOS 64-bit build that generates >4MB log and kills the build process. Workaround by trying to rebuild universal binary quietly, hopefully the rebuild would not exceeds 10 minutes or otherwise Travis-CI would kill the process again for the other reason: no log activity. Finger cross.
2014-02-24 02:10:49 +08:00
Yao Wei Tjong 姚伟忠
82b707e66b For Travis CI - more tweaks on the packaging setup. [ci package]
- Prevent packaging from being accidentally invoked by a pull request or a commit on non-master branch.
- Generate documentation before packaging if it is not yet generated in previous step.
- When packaging for iOS platform, rebuild Urho3D library as Mach-O universal binary.
- When packaging for Linux platform, also invokes RPM and Debian CPack generators.
2014-02-24 00:16:53 +08:00
Yao Wei Tjong 姚伟忠
544c738b5a For Travis CI - change the private key and secure key. [ci package] 2014-02-23 13:42:06 +08:00
Yao Wei Tjong 姚伟忠
dd6f06c8da For Travis CI - supplying keys for automatic package upload.
[ci package]
2014-02-23 13:18:52 +08:00
Yao Wei Tjong 姚伟忠
b4ffce6af9 For Travis CI - fix commit message parsing that contains quotes.
Look 'here' [ci package]
2014-02-22 15:32:20 +08:00
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 姚伟忠
a857cff97e For Travis CI - fix commit message parsing. [ci package] 2014-02-21 18:13:43 +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 姚伟忠
ea1372e05b Add copyright protection for Travis CI setup. 2014-02-18 12:35:32 +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 姚伟忠
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 姚伟忠
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 姚伟忠
a6a19ebadb For Travis CI - make 32&64-bit and android build as mandatory to pass. 2014-02-13 15:11:38 +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 姚伟忠
a6eb19f5ba For Travis CI - temporary disable 32-bit. Android CI build is OK now! 2014-02-11 23:23:05 +08:00
Yao Wei Tjong 姚伟忠
ca36bf1e17 For Travis CI - change the subshell to bash shell. Pardon our dust. 2014-02-11 23:03:32 +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 姚伟忠
797528b3c8 For Travis CI - complete the last branching with a true command. 2014-02-11 22:07:10 +08:00
Yao Wei Tjong 姚伟忠
18c2418064 For Travis CI - change the sh option from -e to -c. 2014-02-11 21:54:02 +08:00
Yao Wei Tjong 姚伟忠
09742eb18e For Travis CI - another attempt to add more CI build matrix. 2014-02-11 21:50:12 +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 姚伟忠
a770760eb5 For Travis CI - Install rake into global gem set.
It was not neccessary before but somehow all the Travis CI build environment for C++ language today do not have rake pre-installed anymore.
2014-02-08 16:45:44 +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 姚伟忠
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 姚伟忠
aa4ec0ec78 For Travis CI - only install what being requested. 2014-01-03 09:05:54 +08:00
Yao Wei Tjong 姚伟忠
1e3593e9d2 For Travis CI - another attempt to enable testing. 2013-12-30 16:45:08 +08:00
Yao Wei Tjong 姚伟忠
0fb12e5883 For Travis CI - revert back call to make test pending investigation. 2013-12-30 08:32:44 +08:00
Yao Wei Tjong 姚伟忠
088eef9e60 Add simple test cases as part of the Travis CI build.
Also fix Editor in case-sensitive platforms.
2013-12-30 07:48:31 +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 姚伟忠
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 姚伟忠
0ece93f1e1 Revert back CI build setting. 2013-12-20 18:11:08 +08:00
Yao Wei Tjong 姚伟忠
efdad3fd6f Change Travis CI secret for one last time. 2013-12-20 16:39:45 +08:00
Yao Wei Tjong 姚伟忠
2e7cdc80f1 Test site documentation deployment using Travis CI. 2013-12-20 16:20:49 +08:00
Yao Wei Tjong 姚伟忠
7a0b30d796 Change Travis CI secret. Bypass build step for quick build test. 2013-12-20 16:09:25 +08:00
Yao Wei Tjong 姚伟忠
bd39347e3a Attempt to automate deployment of site documentation using Travis CI. 2013-12-20 15:30:09 +08:00
Yao Wei Tjong 姚伟忠
0b20416812 Setup Travis CI. Exclude Clang build. GCC build appears to be OK now. 2013-12-19 22:17:37 +08:00
Yao Wei Tjong 姚伟忠
bdce36136f Setup Travis CI. Add missing doxygen package and correct build path. 2013-12-19 21:46:06 +08:00
Yao Wei Tjong 姚伟忠
6d41fbcee1 Setup Travis CI. 2013-12-19 21:35:34 +08:00
Yao Wei Tjong 姚伟忠
82b20f7134 Attempt to setup CI build using Travis. 2013-12-19 21:16:34 +08:00