summaryrefslogtreecommitdiff
path: root/misc/travis
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-02-19Travis: Fix clang-format on non-master branchesRémi Verschelde
`git diff-tree` used to fail on the `3.2` branch (and other non-master branches) as Travis doesn't actually check that branch from the remote: ``` fatal: ambiguous argument '3.2': unknown revision or path not in the working tree. ``` The exit code would still be 0 so we'd miss badly formatted commits targeting stable branches. We do it manually to ensure that it's going to work as we want it.
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-24Travis: Update Android NDK to r20Rémi Verschelde
Drop unused and outdated OSX setup.
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-08-27Style: Don't apply clang-format to platform/android/java/src/comRémi Verschelde
2019-05-20Travis: Update clang-format to version 8.0Rémi Verschelde
2019-01-21Travis: Fix accepting Android SDK licensesRémi Verschelde
It has been failing since a few days, apparently `sdkmanager --licenses` is no longer sufficient to accept all licenses, the `platform-tools` install triggers another license dialog. Now saying yes to all just in case.
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-02Travis: Update Android NDK to r18Rémi Verschelde
2018-08-27Style: Enable clang-format on GLSL shadersRémi Verschelde
As of clang-format 6.0.1, putting the `/* clang-format off */` hint around our "invalid" `[vertex]` and `[shader]` statements isn't enough to prevent a bogus indent of the next comments and first valid statement, so we need to enclose that first valid statement in the unformatted chunk.
2018-07-18Travis: Update clang-format version in shell scriptRémi Verschelde
2018-04-12Travis: Upgrade scons-local to 3.0.1 on OSXRémi Verschelde
Also change URL, prdownload alias seems broken right now on SF.
2017-12-10Style: Apply clang-format to Java filesRémi Verschelde
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-07Style: Update definitions for clang-format 5.0.0Rémi Verschelde
This will be the new standard from now on.
2017-11-13change matrix and enable caching for Android, iOS and macOS (cross-compile)Rhody Lugo
2017-04-09Style: Apply clang-format (3.9.1) to Obj-C++ filesRémi Verschelde
2017-03-19Travis: Run clang-format static checkRémi Verschelde
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.