diff options
| -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 |