Skip to content

Commit

Permalink
Travis test.
Browse files Browse the repository at this point in the history
  • Loading branch information
olasoder-work committed Mar 30, 2020
1 parent cf637c6 commit 7789617
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
language:
- c

script:
- make -C build quick || (cat build/err.tmp.* build/leak.tmp.* 2> /dev/null && false)
jobs:
include:
- stage: Cppcheck
script: cd src && for f in *.c; do cppcheck $f; done
- stage: Test
script: make -C build smoke || (cat build/err.tmp.* 2> /dev/null && false)
- stage: Valgrind
script: make -C build quick || (cat build/err.tmp.* build/leak.tmp.* 2> /dev/null && false)

addons:
apt:
packages:
- valgrind
- cppcheck

0 comments on commit 7789617

Please sign in to comment.