Travis: Run test/cli tests with python3

This commit is contained in:
Daniel Marjamäki 2021-02-28 22:12:17 +01:00
parent 8c57e2bb14
commit f39e605292
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ script:
# Testing cli # Testing cli
- cp -R . ../cppcheck\ 2 - cp -R . ../cppcheck\ 2
- cd ../cppcheck\ 2/test/cli # path with space - cd ../cppcheck\ 2/test/cli # path with space
- python -m pytest test-*.py - python3 -m pytest test-*.py
- cd - - cd -
# Testing addons (disabled 2020-11-24 because Travis fails, TODO try to enable these) # Testing addons (disabled 2020-11-24 because Travis fails, TODO try to enable these)
# - PYTHONPATH=./addons python -m pytest addons/test/test-*.py # - PYTHONPATH=./addons python -m pytest addons/test/test-*.py