Commit Graph

59 Commits

Author SHA1 Message Date
b29387c859 Travis CI: Build Linux export template with disable_3d=yes
This increases the build coverage by making sure the Linux
export template still compiles when 3D support is disabled.

This also adds human-readable names to each job, which are displayed
on the Travis CI interface.
2019-06-02 19:45:46 +02:00
b00d7bfc3f Travis: Update clang-format to version 8.0 2019-05-20 14:35:56 +02:00
e7f22ebdcd Enable warnings=extra on clang and GCC testers.
And remove 2 warnings from warnings=extra.
2019-04-02 17:14:47 +02:00
5774155d6a Travis: Use Ubuntu 16.04, use GCC 8 for Linux/GCC builds
Also add one GCC 5 legacy build job for debug template.
2019-02-19 14:17:22 +01:00
8fbf69a4f4 Enable warnings=all and werror=yes for gcc-8 GCC builder. 2019-02-19 10:43:28 +01:00
6b76145694 Add gcc-8 to Travis. 2019-02-19 10:29:33 +01:00
ffc0792798 Travis: Use pip to install SCons on OSX
Not sure why we switched from homebrew to scons-local anymore,
but pip should work just fine and is recommended by upstream.

Downloads of scons-local from SourceForge were quite iffy, so
this should help avoid CI errors due to not having downloaded
SCons successfully.

Setting Python's user binary PATH seems necessary on Travis/OSX
as per travis-ci/travis-ci#5030 (confirmed that 'scons' is not
in PATH without it).
2019-01-09 13:39:46 +01:00
611a476224 Support globs in csproj includes 2018-10-25 18:00:17 +02:00
6bb5ee0ded Travis: Enable 'werror' for X11 and Android builds
They are currently warning-free, so let's keep it that way.
2018-10-04 15:38:43 +02:00
87ba7de328 Build some targets in release and release_debug mode on Travis CI
This makes sure the release code path is tested in CI builds.

This closes #22147.
2018-09-17 11:11:32 +02:00
1f3aa6890f Travis: Move Coverity module to x11-tools-mono-gcc build
Update Coverity Scan secure token, previous one expired.
2018-08-29 12:16:10 +02:00
e71c20099c CI: Disable debug_symbols on Travis/AppVeyor
Also increase AppVeyor cache size to 1024,
should match what is available for us in the free plan:
https://www.appveyor.com/docs/build-cache/#cache-size-beta

And drop obsolete debug_release option for Windows, superseded
by target=release and debug_symbols=yes.
2018-08-21 12:36:57 +02:00
2450debc0e Use Xcode 9.4 on Travis CI
See <https://blog.travis-ci.com/2018-07-19-xcode9-4-default-announce>.
2018-08-04 18:31:44 +02:00
22b176f69d Travis: Install libstdc++ >= 4.9 for clang-format-6.0 2018-07-18 17:39:05 +02:00
003ac67df1 Travis: Update style checks to clang-format 6.0.1 2018-07-18 16:29:43 +02:00
7bf0c134a7 Travis: Build Mono module in linux tools job 2018-06-15 13:10:21 +02:00
c58f73fd35 Travis: Make dependencies follow the matrix requirements
Also make the coverity addon only applied to the static checks build job.
2018-06-15 12:36:35 +02:00
f827dcba44 Travis: Cleanup build matrix
Remove unused MinGW config, switch server build to gcc/tools.
Update COVERITY_SCAN_TOKEN's secure.
2018-06-15 12:36:33 +02:00
1e19e2846d Travis: Add server build with clang 2018-05-10 21:50:26 +02:00
38fe9ae694 Travis: Enforce Coverity Scan on STATIC_CHECKS Linux/gcc build job
Also ensure that we are not using cached build objects (need to build
from scratch), and update encrypted Coverity Scan token.
2018-04-12 13:45:26 +02:00
6862cd7bf1 Travis: Remove unnecessary/obsolete before_install call
It comes from the Coverity documentation but it fails, and their example projects don't use it.
2018-04-12 11:09:55 +02:00
5fcf938909 Travis: Add setup for Coverity Scan 2018-04-12 10:59:19 +02:00
040e9ecae0 Travis: Use XCode 9.3 / macOS 10.13 for osx/iphone builds 2018-04-10 15:02:48 +02:00
6c2d36271d Travis: Reenable osx and iphone builds
We disabled them due to Travis having big infrastructure issues for osx builds,
but it seems to be back under control now.
2018-04-10 12:42:27 +02:00
6fcc8b7e1f Deleting OpenSSL module and library 2018-02-14 01:26:34 +01:00
f3abd4a065 Travis builds use builtin_openssl for X11
1.0.2 is now the minimum version of openssl to build against
2018-02-06 14:10:13 +01:00
e7965b0f8a Add GDnative wrapper lib on CI build 2018-01-04 20:32:12 +01:00
ab9cda1497 openmp: Don't try to link GCC's implementation on Clang
Also disable openmp build on Travis, breaks on Trusty's Clang.
Group deps more naturally.
2017-12-14 18:27:56 +01:00
a8ceb7e3f2 Style: Update definitions for clang-format 5.0.0
This will be the new standard from now on.
2017-12-07 08:02:00 +01:00
f674a55f3a Travis: Install libxi-dev after #14347 2017-12-07 07:24:50 +01:00
e0c00efb99 Travis: Disable OSX builds, they create too much backlog
Travis CI has not enough OSX build nodes allocated for open source projects,
so we often have to wait several hours (up to a full day) for builds to start.
2017-12-06 19:25:17 +01:00
a4a222d62d use the same cache for all branches for appveyor 2017-11-28 03:23:33 -04:00
1272497fec prune scons shared cache 2017-11-27 01:43:10 -04:00
4766c4fc6c Travis: Use separate SCons caches for each build job 2017-11-26 23:31:44 +01:00
17e9b4aa63 add support for scons cache and enable it for travis 2017-11-26 10:21:09 -04:00
7f3ecd4227 change matrix and enable caching for Android, iOS and macOS (cross-compile) 2017-11-13 15:05:26 -04:00
37f1bb3298 Travis: Simplify matrix, disable iphone and add X11 tools=no/clang
Travis always has massive backlog of macOS builds, so we can't rely on them
too much.
The iphone build was mostly useful to spot tools=no or target=release_debug
issues, so replacing it by an appropriate X11 build.
2017-10-27 19:56:37 +02:00
203fed204c CI: Disable MinGW build on Travis and add AppVeyor badge
Now that AppVeyor handles testing Windows builds with MSVC,
we can skip the need to test against Travis' old MinGW toolchain
and have a faster CI process.

Also try building X11 binaries against system OpenSSL, should
speed up build.
2017-09-26 19:34:17 +02:00
99c7421eae Travis: Try enabling ccache to speed up builds 2017-09-13 22:36:39 +02:00
283ba78399 make use of 2 cores in Travis CI 2017-07-21 01:01:44 +02:00
f93bb4f458 Add options for more human-friendly build output 2017-07-11 19:46:23 +02:00
6a9c990da7 Add ETC1/ETC2 compression support though etc2comp.
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.

Fixes #8457.
2017-05-31 18:59:00 -05:00
6aee289b3e Travis: Run clang-format static check
Commits or PRs that do not respect the clang-format style that we
enforce will fail the test.

Adding ubuntu-toolchain-r-test as its libstdc++ is necessary to install
libllvm-3.9.
2017-03-19 15:26:29 +01:00
3a02df7739 Working on compile issues for iOS 2017-01-16 23:14:13 +11:00
5e717ed8a3 Enabled code that requests an OpenGL 3 context. 2017-01-05 00:05:34 +11:00
8acd058356 Travis: Disable OSX and iOS temporarily
They haven't been updated yet for GLES3 support, so they will fail
all the time.
2017-01-03 14:42:26 +01:00
d5c6806e16 Travis: Disable Android builds for now
As we say in French, "Trop, c'est trop !".
Those builds fail 50% of the time due to timeouts, it's pointless to have them until we
find a better solution to install the Android SDK and NDK.

Workaround for #6973.
2016-11-30 09:21:13 +01:00
f73f554cc0 Attempt to fix travis builds for android
Using travis_wait command
2016-10-07 11:05:03 +03:00
18c941bbec x11: Implemented dpi detection
depends on XRandR.
Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it.
Also removed libudev from travis install list.
2016-06-09 18:54:06 +02:00
1bdda9a922 Travis: Filter out another string, still noisy
That should leave only the `extracting:` lines of the verbose unzip,
should be enough to keep Travis awake.
2016-05-13 11:28:29 +02:00