summaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-05-06 19:07:34 +0200
committerpeterbell10 <peterbell10@live.co.uk>2018-05-06 19:07:34 +0200
commitb9fdaf8a942ea2f79e48e3f735ba8916f3364e70 (patch)
tree41c6f10550a4e606d33ac84fe3968b69875aa1d4 /circle.yml
parentGenerate cacti and sugarcane with different heights (#4137) (diff)
downloadcuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.gz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.bz2
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.lz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.xz
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.zst
cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.zip
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index f13d02ce8..3a8cac12b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -4,9 +4,17 @@
dependencies:
pre:
- - sudo apt-get install lua5.1
+ - sudo apt-get update
+ - sudo apt-get install lua5.1 cmake clang-3.9 clang-tidy-3.9
+ - sudo ln -s /usr/bin/clang-tidy-3.9 /usr/bin/clang-tidy
+ - sudo ln -s /usr/bin/clang-apply-replacements-3.9 /usr/bin/clang-apply-replacements
+ - pip install PyYAML
test:
override:
- cd src && find . -name \*.cpp -or -name \*.h > AllFiles.lst && lua CheckBasicStyle.lua
- cd src/Bindings && lua CheckBindingsDependencies.lua
+ - curl -o "$HOME/bin/run-clang-tidy.py" "https://raw.githubusercontent.com/llvm-mirror/clang-tools-extra/45fb9b20ed7da2f6b95d83e5ef45bb536f49d8ca/clang-tidy/tool/run-clang-tidy.py"
+ - chmod +x "$HOME/bin/run-clang-tidy.py"
+ - git submodule update --init
+ - ./clang-tidy.sh