summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2020-03-30Travis: Add static check for Python black formattingRémi Verschelde
Also install and use pygmentize to visualize clang-format and black diffs.
2020-03-26Travis: Disable HTML5 again until ported to DisplayServerRémi Verschelde
Also re-enable macOS builds disabled in dbb3f992a4f4a145c46df69e0e900262b956f0e3.
2020-03-26Multiple changes to DisplayServerX11Mateo Kuruk Miccino
- Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
2020-03-22Travis: Temporarily disable macOS buildsRémi Verschelde
Travis CI has had trouble the past few days and macOS builds error out for no reason.
2020-03-11[HTML5] Refactor JS, threads support, closures.Fabio Alessandrelli
- Refactored the Engine code, splitted across files. - Use MODULARIZE option to build emscripten code into it's own closure. - Enable lto support (saves ~2MiB in release). - Enable optional closure compiler pass for JS and generated code. - Enable optional pthreads support. - Can now build with tools=yes (not much to see yet). - Dropped some deprecated code for older toolchains.
2020-03-08Add Javascript to CI (export template, release).Fabio Alessandrelli
2020-02-25Travis: Use Python 3.8 alias instead of specific versionRémi Verschelde
Otherwise it breaks when they update the container to a new version, like they did today with 3.7.6.
2020-02-22Travis: Use Xcode 11.3 for macOS/iOSRémi Verschelde
Xcode 10+ is needed for exhaustive C++17 support (gnu++17). 11.3 is the latest available version on Travis, and we don't have a specific reason not to use it. Follow-up to #36457.
2020-02-22Travis: Use Ubuntu 18.04 (bionic) as base imageRémi Verschelde
It's now available and allows us to have a better default environment, with GCC 7.4.0 and Clang 7. We now need GCC 7+ for C++17 support so it's more efficient to upgrade the image than to install it on Ubuntu 16.04 (xenial). Also fixes a couple -Wdeprecated-declarations warnings on macOS now that we build against macOS 10.12.
2020-02-21Travis: Force updating homebrew on macOSRémi Verschelde
Temporary workaround for https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296
2020-02-18Fix compilation warnings and re-enable werror=yes on TravisRémi Verschelde
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings raised by GCC 8 and 9. Fix -Wunused-function, -Wunused-private-field and -Wtautological-constant-out-of-range-compare raised by Clang. Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison operation). GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising errors and will thus not abort compilation with `werror=yes`. Treat glslang headers are system headers to avoid raising warnings. Re-enables us to build with `werror=yes` on Linux and macOS, thus catching warnings that would be introduced by new code. Fixes #36132.
2020-02-11Restore parts of #33783 and #32809 missing after rebase.bruvzg
2020-02-11Fix code formatting issues and VS compilationRémi Verschelde
Also temporarily disable multicheck build so that we get a full build even when there are style issues on Vulkan. Fixes #33356.
2020-02-11Add static Vulkan loader.bruvzg
Initial Vulkan support for Windows. Initial Vulkan support for macOS.
2020-02-10Travis: Use Python 3 for SConsRémi Verschelde
2020-01-16Travis: Disable -Wstrict-aliasing warning on GCC 5 test buildRémi Verschelde
Should speed up builds by avoiding warning spam. This warning is no longer raised by newer GCC versions.
2019-12-16Travis: Fix reporting clang-format errors after #34097Rémi Verschelde
2019-12-04Travis CI: Run `makerst.py` to check for documentation errorsHugo Locurcio
2019-11-19Travis: Drop support for coverity_scan, we do not use itRémi Verschelde
The UX is pretty bad, and the fact that all reports are private by default with no option to make them public makes Coverity Scan hardly usable in a community-driven project.
2019-10-26Travis: Force installing OpenJDK8 for Android SDK compatibilityRémi Verschelde
Travis CI upgraded their Xenial VMs to default to openjdk11, which is not working properly for sdkmanager, so we can no longer accept licenses for the SDK. They don't really seem to care about providing a good alternative for us from the few threads I read, so let's just force openjdk8 back.
2019-10-24Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` ↵bruvzg
for macOS CI.
2019-09-27Travis: Make scons cache branch-specificRémi Verschelde
2019-08-27Travis: Fix builds wrongly reporting success after #31013Rémi Verschelde
Seems to be a 5 year old bug that upstream doesn't care about. https://github.com/travis-ci/travis-ci/issues/1066
2019-08-20Travis CI: Test project exporting/script running in the headless editorHugo Locurcio
2019-08-18Travis CI: Use a multi-stage build to run static checks firstHugo Locurcio
This prevents Travis CI from performing full builds if static checks have failed. This also removes `sudo: false` as it is deprecated.
2019-07-02Use GCC 9 in travis.Martin Liska
2019-06-19Png driver reworked to use libpng 1.6 simplified APIIbrahn Sahir
Wrapped libpng usage in a pair of functions under PNGDriverCommon, which convert between Godot Image and png data. Switched to libpng 1.6 simplified API for ease of maintenance. Implemented ImageLoaderPNG and ResourceSaverPNG in terms of PNGDriverCommon functions. Travis, switched to builtin libpng (thus builtin freetype and zlib also) so we can build on Xenial.
2019-06-02Travis CI: Build Linux export template with `disable_3d=yes`Hugo Locurcio
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-05-20Travis: Update clang-format to version 8.0Rémi Verschelde
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-02-19Travis: Use Ubuntu 16.04, use GCC 8 for Linux/GCC buildsRémi Verschelde
Also add one GCC 5 legacy build job for debug template.
2019-02-19Enable warnings=all and werror=yes for gcc-8 GCC builder.marxin
2019-02-19Add gcc-8 to Travis.marxin
2019-01-09Travis: Use pip to install SCons on OSXRémi Verschelde
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).
2018-10-25Support globs in csproj includesIgnacio Etcheverry
2018-10-04Travis: Enable 'werror' for X11 and Android buildsRémi Verschelde
They are currently warning-free, so let's keep it that way.
2018-09-17Build some targets in release and release_debug mode on Travis CIHugo Locurcio
This makes sure the release code path is tested in CI builds. This closes #22147.
2018-08-29Travis: Move Coverity module to x11-tools-mono-gcc buildRémi Verschelde
Update Coverity Scan secure token, previous one expired.
2018-08-21CI: Disable debug_symbols on Travis/AppVeyorRémi Verschelde
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-04Use Xcode 9.4 on Travis CIHugo Locurcio
See <https://blog.travis-ci.com/2018-07-19-xcode9-4-default-announce>.
2018-07-18Travis: Install libstdc++ >= 4.9 for clang-format-6.0Rémi Verschelde
2018-07-18Travis: Update style checks to clang-format 6.0.1Rémi Verschelde
2018-06-15Travis: Build Mono module in linux tools jobRémi Verschelde
2018-06-15Travis: Make dependencies follow the matrix requirementsRémi Verschelde
Also make the coverity addon only applied to the static checks build job.
2018-06-15Travis: Cleanup build matrixRémi Verschelde
Remove unused MinGW config, switch server build to gcc/tools. Update COVERITY_SCAN_TOKEN's secure.
2018-05-10Travis: Add server build with clangRémi Verschelde
2018-04-12Travis: Enforce Coverity Scan on STATIC_CHECKS Linux/gcc build jobRémi Verschelde
Also ensure that we are not using cached build objects (need to build from scratch), and update encrypted Coverity Scan token.
2018-04-12Travis: Remove unnecessary/obsolete before_install callRémi Verschelde
It comes from the Coverity documentation but it fails, and their example projects don't use it.
2018-04-12Travis: Add setup for Coverity ScanRémi Verschelde
2018-04-10Travis: Use XCode 9.3 / macOS 10.13 for osx/iphone buildsRémi Verschelde