about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2018-06-22 11:10:04 +0200
committerGitHub <noreply@github.com>2018-06-22 11:10:04 +0200
commit191a47a37880caecb47f9b47ddf71fede335d1a0 (patch)
treece899972168447646865b0fe4265257f71e20c5d
parent83335b33f6f00332c662b8a0f86de2a263f8cc52 (diff)
parent83340868d17d93811875516aa91e0b002669475d (diff)
downloadmiasm-191a47a37880caecb47f9b47ddf71fede335d1a0.tar.gz
miasm-191a47a37880caecb47f9b47ddf71fede335d1a0.zip
Merge pull request #782 from commial/refactor/travis-deprecated
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"