diff --git a/.travis.yml b/.travis.yml index 72677c7..44d66d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,14 @@ matrix: include: - language: python python: - - "3.4" - "3.5" - "3.6" - - "3.7" install: - "pip install flake8" + - "pip install codespell" script: - - flake8 + - bash scripts/static_tests.sh -r -p - language: c sudo: false @@ -21,6 +20,7 @@ matrix: packages: - libc6-i386 - doxygen + - codespell cache: directories: @@ -34,11 +34,4 @@ matrix: - export PATH=$PATH:$GCC_DIR/bin script: - - cd FW - - make - - make clean - - BOARD=BLUEPILL make - - BOARD=BLUEPILL make clean - - BOARD=NUCLEOF103RB make - - BOARD=NUCLEOF103RB make clean - - make doc + - bash scripts/static_tests.sh -r -c diff --git a/scripts/static_tests.sh b/scripts/static_tests.sh index d501fc6..879a710 100755 --- a/scripts/static_tests.sh +++ b/scripts/static_tests.sh @@ -73,3 +73,5 @@ if [[ $LANG == "c,py" ]] || [[ $LANG == "c" ]]; then BOARD=NUCLEOF103RB make clean cd .. fi + +exit $FAIL_OCCURED