diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-12 10:42:46 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-12 10:43:54 +0100 |
| commit | d666a0649928fe331980e9aef64d22f48fe4c17e (patch) | |
| tree | 749f1f0541795a2ceae9cd865b01f17d01f073a3 /.travis.yml | |
| parent | 9ffed7e967dc0a458a1f370de6bf738592056047 (diff) | |
| download | focaccia-miasm-d666a0649928fe331980e9aef64d22f48fe4c17e.tar.gz focaccia-miasm-d666a0649928fe331980e9aef64d22f48fe4c17e.zip | |
CI: transform warnings into error
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index f5c55368..ee4f0ed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,9 +26,7 @@ before_script: - pip install -r optional_requirements.txt # codespell - "pip install codespell && git ls-files | xargs codespell --ignore-words=.codespell_ignore 2>/dev/null" -# turn deprecation warning into RuntimeError -- "find . -name '*.py' | xargs sed -i 's/warnings\\.warn(/raise RuntimeError(/g'" # install - python setup.py build build_ext - python setup.py install -script: cd test && python test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard +script: cd test && python -W error test_all.py $MIASM_TEST_EXTRA_ARG && git ls-files -o --exclude-standard |