about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-06-21 17:46:44 +0200
committerAjax <commial@gmail.com>2018-06-22 10:25:24 +0200
commit83340868d17d93811875516aa91e0b002669475d (patch)
treeb1682f5f66df6b056d29495e935ab24a0c30ed9f
parent98a60ebb7366cda9774fc0511185602cada1833b (diff)
downloadmiasm-83340868d17d93811875516aa91e0b002669475d.tar.gz
miasm-83340868d17d93811875516aa91e0b002669475d.zip
TravisCI: turn deprecation warning into RuntimeError
-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"