Commit Graph

8 Commits

Author SHA1 Message Date
Rémi Verschelde 897c53173d Travis: Use clang-format 8 instead of 6
Fix bogus build matrix due to stray quotes.
2020-08-13 23:17:30 +02:00
Rémi Verschelde c071c754d0 Travis: Fix clang-format on non-master branches
`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.

(cherry picked from commit e479231b21)
2020-05-28 14:09:22 +02:00
Rémi Verschelde 792a0cdb53 Travis: Update style checks to clang-format 6.0.1 2018-07-18 17:48:28 +02:00
Xavier Sellier 0af3f8e053 Backport of clang-format 7cb6e6b723 2018-02-22 13:00:36 -05:00
Rémi Verschelde 7e2d6b4450 Style: Update definitions for clang-format 5.0.0
This will be the new standard from now on.

(cherry picked from commit a8ceb7e3f2)
2017-12-11 15:18:26 +01:00
Rhody Lugo f09bbfa372 change matrix and enable caching for Android, iOS and macOS (cross-compile) 2017-11-13 15:13:46 -04:00
Rémi Verschelde a27876d5ac Style: Apply clang-format (3.9.1) to Obj-C++ files 2017-04-09 14:03:52 +02:00
Rémi Verschelde 51c5a12f43 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.

(cherry picked from commit 6aee289b3e)
2017-03-19 16:14:53 +01:00