Skip to content

Commit

Permalink
ci(travis): Use the static_tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Feb 25, 2020
1 parent d28e991 commit 40692a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,6 +20,7 @@ matrix:
packages:
- libc6-i386
- doxygen
- codespell

cache:
directories:
Expand All @@ -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
2 changes: 2 additions & 0 deletions scripts/static_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ if [[ $LANG == "c,py" ]] || [[ $LANG == "c" ]]; then
BOARD=NUCLEOF103RB make clean
cd ..
fi

exit $FAIL_OCCURED

0 comments on commit 40692a7

Please sign in to comment.