about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 49d7eef2..e1b1debc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,9 +37,12 @@ before_script:
 - "cd z3/build"
 - "make install"
 - "cd ../.."
-# install miasm
+# Miasm
 - "cd ..;"
 - "cd miasm;"
+# turn deprecation warning into RuntimeError
+- "find . -name '*.py' | xargs sed -i 's/warnings\\.warn(/raise RuntimeError(/g'"
+# install
 - "python setup.py build build_ext -I$(pwd)/../virtualenv/include -L$(pwd)/../virtualenv/tinycc"
 - "python setup.py install"
 script: "python -c 'import z3; x = z3.BitVec(chr(0x41), 32)' && cd test && python test_all.py && git ls-files -o --exclude-standard"