diff --git a/.travis.yml b/.travis.yml
index 3a6b99ee47588a9da5ede23f8b57c4b761108112..4270bae5305d71c03fbc6c87ed30067b6b77195f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ python:
  - "pypy"
 cache: pip
 script:
+ - python -m coolamqp.framing.compilation.compile_definitions
  - python setup.py nosetests
 install:
  - pip install -r requirements.txt
diff --git a/build.sh b/build.sh
index dbec9f70b11d210a63f0f9ac216a22d179624e67..1240067a636d976b25fe4f037a9c300e34f0efd0 100644
--- a/build.sh
+++ b/build.sh
@@ -3,6 +3,7 @@
 set -x
 set -e
 
+python -m coolamqp.framing.compilation.compile_definitions
 python setup.py bdist bdist_wheel
 
 if [ $TRAVIS_BRANCH == "master" ]; then