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 | |
| parent | 9ffed7e967dc0a458a1f370de6bf738592056047 (diff) | |
| download | miasm-d666a0649928fe331980e9aef64d22f48fe4c17e.tar.gz miasm-d666a0649928fe331980e9aef64d22f48fe4c17e.zip | |
CI: transform warnings into error
| -rw-r--r-- | .appveyor.yml | 2 | ||||
| -rw-r--r-- | .travis.yml | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 5a6b3b38..fb565570 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -33,7 +33,7 @@ build_script: test_script: - cmd: cd c:\projects\miasm\test - - "%PYTHON%\\python.exe test_all.py" + - "%PYTHON%\\python.exe -W error test_all.py" after_test: - cmd: chdir 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 |