diff --git a/tox.ini b/tox.ini
index 168e2b08a25613ef052a9498ee7f12cd3df1207d..2555c6873e0133ab2728400bdc250a3c1f0cb50d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,8 +9,13 @@ deps =
     mock
 setenv =
     PYTHONPATH = {toxinidir}
+whitelist_externals =
+    make
 commands =
+    make schema
     py.test
 
 [testenv:flake8]
-commands = flake8 pi_mqtt_gpio
+commands =
+    make schema
+    flake8 pi_mqtt_gpio