Update .gitignore and add .woodpecker.yml
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,6 +7,7 @@
|
|||||||
# Icon must end with two \r
|
# Icon must end with two \r
|
||||||
Icon
|
Icon
|
||||||
|
|
||||||
|
|
||||||
# Thumbnails
|
# Thumbnails
|
||||||
._*
|
._*
|
||||||
|
|
||||||
@ -52,3 +53,4 @@ $RECYCLE.BIN/
|
|||||||
# Windows shortcuts
|
# Windows shortcuts
|
||||||
*.lnk
|
*.lnk
|
||||||
|
|
||||||
|
.aider*
|
||||||
|
9
.woodpecker.yml
Normal file
9
.woodpecker.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
pipeline:
|
||||||
|
test:
|
||||||
|
image: php:7.4-cli
|
||||||
|
commands:
|
||||||
|
- apt-get update && apt-get install -y git
|
||||||
|
- php -l wpa-superstar-plugin.php # Syntax check
|
||||||
|
- php -l admin/settings.php
|
||||||
|
- php -l includes/speed-functions.php
|
||||||
|
- echo "Basic linting passed"
|
Reference in New Issue
Block a user