mirror of https://github.com/ARMmbed/mbed-os.git
Start collecting coverage data in travis
parent
3e00a22d78
commit
99838219bf
18
.travis.yml
18
.travis.yml
|
@ -19,14 +19,15 @@ script:
|
||||||
- |
|
- |
|
||||||
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
|
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
|
||||||
- make -C events/equeue test clean
|
- make -C events/equeue test clean
|
||||||
- PYTHONPATH=. python tools/test/config_test/config_test.py
|
- PYTHONPATH=. coverage run tools/test/config_test/config_test.py
|
||||||
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
|
- PYTHONPATH=. coverage run tools/test/build_api/build_api_test.py
|
||||||
- PYTHONPATH=. python tools/test/targets/target_test.py
|
- PYTHONPATH=. coverage run tools/test/targets/target_test.py
|
||||||
- python tools/test/pylint.py
|
- coverage run tools/test/pylint.py
|
||||||
- py.test tools/test/toolchains/api.py
|
- coverage run -m pytest tools/test/toolchains/api.py
|
||||||
- python tools/test/memap/memap_test.py
|
- coverage run tools/test/memap/memap_test.py
|
||||||
- python tools/project.py -S
|
- coverage run tools/project.py -S
|
||||||
- python tools/build_travis.py
|
- coverage run tools/build_travis.py
|
||||||
|
- coverage html
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
||||||
- sudo add-apt-repository -y ppa:libreoffice/libreoffice-4-2
|
- sudo add-apt-repository -y ppa:libreoffice/libreoffice-4-2
|
||||||
|
@ -42,3 +43,4 @@ install:
|
||||||
- pip install pylint
|
- pip install pylint
|
||||||
- pip install hypothesis
|
- pip install hypothesis
|
||||||
- pip install mock
|
- pip install mock
|
||||||
|
- pip install coverage
|
||||||
|
|
Loading…
Reference in New Issue