mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 11:20:15 +00:00
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:
parent
d049755f82
commit
97eda159fd
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ jobs:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
script:
|
script:
|
||||||
- shellcheck -x auto_install/install.sh
|
- shellcheck -x auto_install/install.sh
|
||||||
|
- find ciscripts/ -type f -regex '.*\.sh' -exec shellcheck -x {} \;
|
||||||
- find scripts/ -type f -exec shellcheck -x {} \;
|
- find scripts/ -type f -exec shellcheck -x {} \;
|
||||||
|
|
||||||
- stage: style
|
- stage: style
|
||||||
|
@ -42,6 +43,7 @@ jobs:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
script:
|
script:
|
||||||
- shfmt -d -i 2 -ci -sr -bn auto_install/install.sh
|
- 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 {} \;
|
- find scripts/ -type f -exec shfmt -d -i 2 -ci -sr -bn {} \;
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
|
|
Loading…
Reference in a new issue