refactor(travis ci): add files to lint and style stages

Add the scripts into the ciscripts/ directory to the lint and the style stages
This commit is contained in:
Giulio Coa 2022-08-06 05:35:30 +02:00
parent d049755f82
commit 97eda159fd

View file

@ -30,6 +30,7 @@ jobs:
arch: amd64
script:
- shellcheck -x auto_install/install.sh
- find ciscripts/ -type f -regex '.*\.sh' -exec shellcheck -x {} \;
- find scripts/ -type f -exec shellcheck -x {} \;
- stage: style
@ -42,6 +43,7 @@ jobs:
arch: amd64
script:
- shfmt -d -i 2 -ci -sr -bn auto_install/install.sh
- find ciscripts/ -type f -regex '.*\.sh' -exec shfmt -d -i 2 -ci -sr -bn {} \;
- find scripts/ -type f -exec shfmt -d -i 2 -ci -sr -bn {} \;
- stage: test