Commit Graph

46 Commits

Author SHA1 Message Date
Christian Beer a5dad9b895 Build: whitespace only changes 2019-04-20 13:31:13 +02:00
Christian Beer 6dbf55fd9a Tests: add unit testing framework using googletest
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger

There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.
2019-04-20 13:30:03 +02:00
Vitalii Koshura f801a63f18
[Android] [TravisCI] Fix silent mode
Rewrite Silent Mode usage during build in a more easy way

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-01-03 09:51:20 +02:00
Vitalii Koshura 58e6a36787
[Travis CI] Increase cache timeout to be 10 minutes.
This should be more than enough to support large Android cache (~1 GB)

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-12-27 20:14:20 +02:00
Vitalii Koshura 1d8aa65374
[Android] [TravisCI] Add Full Android build
- Fix existing configuration of openssl and curl flag files for different Android configurations
- Make openssl and curl build more silent

This fixes #2927

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-12-27 02:47:10 +02:00
Adam Radocz 63ad659925 Update travis to use Android SDK 28. 2018-12-07 21:47:20 +00:00
Adam Radocz 52ad1ef424 The Gradle v4.6 needs BuildTools v28.0.3 2018-11-23 14:02:44 +01:00
Vitalii Koshura c4920eb5c1
Merge pull request #2712 from BOINC/cb_deploy_bintray
Travis/AppVeyor: copy successful builds to bintray
2018-10-14 14:24:30 +03:00
Vitalii Koshura fb73a509ea
[Android] Add Android Manager CI configuration
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-10-01 02:04:37 +03:00
Christian Beer 1e25e9292a Travis: copy successful builds to bintray
Copy a weekly build from master to https://bintray.com/boinc/boinc-ci so it is available for testers. Only specified build artefacts are copied (see deploy/prepare_deploy.sh). The copy operation is triggered via a Travis CI cronjob or a pull request from within the BOINC/boinc gitub repository.
Pull requests from forks are ignored because they can not have access to the bintray API key, this is a security restriction enforced by Travis CI.
2018-09-22 15:40:52 +02:00
Vitalii Koshura 070ccdb023
[Android][CI] Android CI implementation
Initial Android client CI is implemented.
Some fixes in build scripts made to enable CI build cache for OpenSSL and CURL.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-09-20 04:41:22 +03:00
Christian Beer a6616df373 Travis: use correct environment for integration testing
This is kind of embarassing as I specifically created the new travis config in #2659 so that the integration tests (not the unit tests) can use the proper PHP environment. Somehow I mixed that up. Mea culpa.
2018-08-28 21:15:15 +02:00
Christian Beer 771c1c0a69 Travis: Add integration testing to Travis CI
This spins up a project using docker and runs some PHPUnit based tests against it.
2018-08-28 20:56:07 +02:00
Christian Beer c2fe28881b Travis: restructure travis configuration
Instead of excluding unwanted jobs this now specifically includes the jobs needed. This allows to run multiple environments or languages within a single repository. This is not fully documented but was confirmed to be supported by Travis via email.

Configuration can be tested on this page: http://config.travis-ci.org/
Original idea came from this blog entry: http://axelnilsson.tech/2017/08/04/travisci-with-multi-language-repository/
2018-08-25 14:44:57 +02:00
Christian Beer 422aba5fde Build Travis: fix wrong command chaining
I have no idea why I put in the OR instead of the AND but it was wrong and skipped some commands.
2018-01-29 21:09:27 +01:00
Christian Beer aad0426482 Build Travis: clean source dir before second manager build
Somehow the linker is using the wrong libraries but the compiler is not. See if that helps.
2018-01-29 21:08:50 +01:00
Christian Beer 5a236ebb6a Build: optionally disable webview support in wxWidgets
Some Linux distributions are dropping webkitgtk support which is needed for wxWebView to work. This will build a second wxWidgets cache that has no webview support in order to test new code.
2018-01-29 21:08:50 +01:00
Christian Beer a97a810cd2 Travis: reduce log output by silencing the dependency build scripts 2017-08-10 10:33:43 +02:00
Christian Beer a54b1d531e Travis: don't try to run apt-get on OSX 2017-08-10 09:44:47 +02:00
Christian Beer 27333393ab Merge branch 'master' into travis_osx_build_clean
Retained Travis changes for Linux that happened in the meantime.

Conflicts:
	.travis.yml
2017-08-10 09:28:40 +02:00
Christian Beer 16a13e7e32 Travis: use Trusty image and use apg-get to install dependencies
The container-based Trusty does not allow all the packages we need.
2017-07-17 14:19:18 +02:00
Christian Beer 76373f2120 Merge branch 'master' into travis_osx_build_clean
Conflicts:
	.travis.yml (new mingw build added)
2017-03-23 09:53:48 +01:00
Christian Beer 469fcc10ce Merge branch 'master' into travis_linux_build2
Conflicts:
	.travis.yml (due to reordering of script lines in master)
2017-03-23 09:48:49 +01:00
Christian Beer cfa12a7e17 Travis: fix mingw build command and add wrapper
The previous command was only working because Travis already exports CC and CXX. This works even if this is not the case.
2017-03-23 09:06:55 +01:00
Christian Beer abd808be66 Travis: prefixes should always be absolute
Configure assumes that prefixes are absolute without checking.
2017-03-20 12:35:17 +01:00
Christian Beer 84431d41a2 Travis: use correct option for configure
When using an installed version of wxWidgets one has to use --with-wx-prefix instead of --with-wxdir which is expecting the source directory.
2017-03-20 11:59:07 +01:00
Christian Beer bc38c6f316 Travis: enable OSX support for CI builds
We currently build every BOINC component in one go on Mac. This is kind of intended as the build capacity for OSX on Travis CI is capped at 128 builds at the same time right now and extra builds will only add to the already full queue.
2017-03-17 15:52:16 +01:00
Christian Beer 3dc439945b Build: restructure dependency builds for Linux
This reduces the size of files to be cached between builds by the CI system. The scripts are flexible enough so they can also be used by developers locally.
2017-03-17 14:55:39 +01:00
Christian Beer 2370eba78f Build: try to build libraries with mingw on travis-ci 2017-02-17 14:42:18 +01:00
Christian Beer ffa69ea87e Travis-CI: disable notifications override
This will now use the default Travis policy to send notifications since emailing the list does not work.
2016-02-09 10:52:05 +01:00
Preston Maness 6c72e8a8bd
Enabling libxss-dev in .travis.yml to test build. 2015-12-16 11:20:54 -06:00
Christian Beer 71976e46f5 BUILD: enable caching and fix script to build wxWidgets 2015-03-03 08:53:35 +01:00
Christian Beer 3e9275edda BUILD: update travis config to build manager using container-based-infrastructure
- does not cache the wxwidgets directory yet
2015-03-03 08:22:14 +01:00
Christian Beer 7cdbac2573 BUILD: reduced packages to install to what is additionally needed
- laso enable manager and see what packages are missing
2015-02-22 18:26:10 +01:00
Christian Beer 35f6a91559 BUILD: fix to travis config 2015-02-21 22:00:01 +01:00
Christian Beer 801112897c BUILD: rearrange order of travis configuration to get installation working 2015-02-21 20:24:55 +01:00
Christian Beer 92c56b2294 BUILD: switch to container-based infrastructure on travis-ci 2015-02-21 18:22:15 +01:00
Christian Beer 05c0e2571c BUILD: enable apps in travis-ci config 2015-02-12 17:16:11 +01:00
Christian Beer 3e631f7037 BUILD: rearrange build matrix for travis-ci again
- this will hopefully keep the build matrix for master and allow a separate matrix for coverity_scan
2015-02-10 11:35:41 +01:00
Christian Beer e95da14958 BUILD: fix travis-ci config to support coverity_scan
- the build matrix had to be hardcoded to pass the travis lint test
2015-02-10 10:35:09 +01:00
Christian Beer 6816497668 BUILD: enable coverity_scan addon for travis-ci 2015-02-10 10:10:53 +01:00
Christian Beer 079107e55b BUILD: disable clang in travis-ci until there is proper support by boinc 2015-02-05 08:16:30 +01:00
Rom Walton 6733b34891 BUILD: I'll picked up the build success/failure emails by way of boinc_cvs. 2015-01-11 11:36:19 -05:00
Christian Beer 19c38d2e82 BUILD: disable manager from Travis-CI build
- wxWidgets Webview is not available for Precise Pangolin and has to be installed via an APT repo or from source, which is a task for later
2015-01-11 13:15:52 +01:00
Christian Beer f98249ed7c BUILD: enhance Travis-CI config
- enable build of fastcgi binaries
- separately build client and manager
2015-01-11 12:56:37 +01:00
Christian Beer 3ae20d73ef Enable Travis-CI for master branch
- An email is send only to those adresses given in .travis.yml
- Only the master branch is build
- The compiler gcc and clang are used
- The components libraries, server and client/manager are build separately
- The README.md just displays the current build status on the github mirror
2015-01-09 18:58:03 +01:00