Fix Debian issue with astyle options
This commit is contained in:
parent
e09c180f84
commit
90eb400763
|
@ -11,9 +11,9 @@ style:
|
|||
before_script:
|
||||
- apt-get update -qq && apt-get install -y -qq astyle git
|
||||
script:
|
||||
- test $(astyle --dry-run --project --formatted lib/*.cc | wc -l) -ne 0 && exit 1
|
||||
- test $(astyle --dry-run --project --formatted lib/*.h | wc -l) -ne 0 && exit 1
|
||||
- test $(astyle --dry-run --project --formatted include/satnogs/*.h | wc -l) -ne 0 && exit 1
|
||||
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.cc | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
||||
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.h | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
||||
- if (test $(astyle --dry-run --options=.astylerc --formatted include/satnogs/*.h | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
||||
|
||||
test:
|
||||
stage: test
|
||||
|
|
Loading…
Reference in New Issue