From 3dc526f92d190ff45a0246915dd166c37ed16972 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Mon, 20 Mar 2017 03:00:53 -0400 Subject: fail build if code isn't formatted / tests trigger git changes --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'circle.yml') diff --git a/circle.yml b/circle.yml index 40a7f27..e9e634c 100644 --- a/circle.yml +++ b/circle.yml @@ -13,6 +13,7 @@ dependencies: compile: override: - ./cbt compile + - git diff --exit-code - ./cbt direct - ./cbt -Dlog=all @@ -23,3 +24,4 @@ test: timeout: 1800 - ./cbt test.run slow: timeout: 1800 + - git diff --exit-code -- cgit v1.2.3