Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/composer-first
Browse files Browse the repository at this point in the history
# Conflicts:
#	.travis.yml
  • Loading branch information
kasparsd committed May 25, 2018
2 parents 94d7ab0 + c6992d7 commit e446f03
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Important: This file is for the wp-dev-lib Travis CI runs.
# See sample-config/.travis.yml for a sample config for a WordPress project.
#

language: php

notifications:
email: false

script:
- find . -name "*.php" -print0 | xargs -0 -n1 -P8 php -l # Ensure valid PHP syntax
- shellcheck *.sh || true # Run shellcheck but ignore the output
- shellcheck --format json *.sh | grep --quiet --invert-match '"level":"error"' # Fail only if shellcheck finds errors.

0 comments on commit e446f03

Please sign in to comment.