2015-04-14 18:45:56 +00:00
|
|
|
python:
|
2013-10-28 09:23:39 +00:00
|
|
|
- "2.7"
|
2016-05-26 09:13:45 +00:00
|
|
|
|
2016-06-22 00:09:15 +00:00
|
|
|
script:
|
2017-06-09 15:25:44 +00:00
|
|
|
- mkdir BUILD
|
2017-06-09 15:01:57 +00:00
|
|
|
# Assert that the Doxygen build produced no warnings.
|
|
|
|
# The strange command below asserts that the Doxygen command had an
|
|
|
|
# output of zero length
|
2017-06-01 19:01:35 +00:00
|
|
|
- |
|
2017-06-09 15:25:44 +00:00
|
|
|
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
|
2017-06-09 15:01:57 +00:00
|
|
|
# Assert that all binary libraries are named correctly
|
|
|
|
# The strange command below asserts that there are exactly 0 libraries that do
|
|
|
|
# not start with lib
|
2017-06-09 14:49:13 +00:00
|
|
|
- |
|
2017-06-12 16:10:23 +00:00
|
|
|
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" | tee BUILD/badlibs | sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
|
2017-06-20 19:47:41 +00:00
|
|
|
# Assert that all assebler files are named correctly
|
|
|
|
# The strange command below asserts that there are exactly 0 libraries that do
|
|
|
|
# end with .s
|
|
|
|
- |
|
|
|
|
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
|
2016-11-21 18:25:14 +00:00
|
|
|
- make -C events/equeue test clean
|
2016-06-22 00:09:15 +00:00
|
|
|
- PYTHONPATH=. python tools/test/config_test/config_test.py
|
2016-09-29 18:38:20 +00:00
|
|
|
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
|
2017-02-03 23:33:15 +00:00
|
|
|
- PYTHONPATH=. python tools/test/targets/target_test.py
|
2016-08-15 22:16:56 +00:00
|
|
|
- python tools/test/pylint.py
|
2016-07-14 19:12:57 +00:00
|
|
|
- py.test tools/test/toolchains/api.py
|
2016-09-28 22:20:42 +00:00
|
|
|
- python tools/test/memap/memap_test.py
|
2016-11-01 20:38:59 +00:00
|
|
|
- python tools/project.py -S
|
2016-06-22 00:09:15 +00:00
|
|
|
- python tools/build_travis.py
|
2016-05-26 09:13:45 +00:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
|
2017-06-01 19:01:35 +00:00
|
|
|
- sudo add-apt-repository -y ppa:libreoffice/libreoffice-4-2
|
2016-05-26 09:13:45 +00:00
|
|
|
- sudo apt-get update -qq
|
2017-06-01 19:01:35 +00:00
|
|
|
- sudo apt-get install -qq gcc-arm-none-eabi doxygen --force-yes
|
2016-05-26 09:13:45 +00:00
|
|
|
# Print versions we use
|
|
|
|
- arm-none-eabi-gcc --version
|
|
|
|
- python --version
|
2017-06-01 19:01:35 +00:00
|
|
|
- doxygen --version
|
2015-02-11 00:36:18 +00:00
|
|
|
install:
|
2017-07-29 18:25:04 +00:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install pytest
|
|
|
|
- pip install pylint
|
|
|
|
- pip install hypothesis
|
|
|
|
- pip install mock
|