Skip to content

Commit 69eb3ca

Browse files
committed
Add the toolchain api test to the travis CI
I would like to test that the Toolchains API remains stable. Therfore, I have added a test to the travis CI that checks that each exposed toolchain class implements the API that the mbedToolchain base class uses to compile.
1 parent f6b8cf0 commit 69eb3ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ python:
33

44
script:
55
- PYTHONPATH=. python tools/test/config_test/config_test.py
6+
- py.test tools/test/toolchains/api.py
67
- python tools/build_travis.py
78
before_install:
89
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
@@ -15,3 +16,4 @@ install:
1516
- sudo pip install colorama
1617
- sudo pip install prettytable
1718
- sudo pip install jinja2
19+
- sudo pip install pytest

0 commit comments

Comments
 (0)