-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
423f6ae
commit 92f4aaf
Showing
4 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: php | ||
dist: trusty | ||
|
||
services: | ||
- docker | ||
|
||
php: | ||
- 8.0 | ||
before_install: | ||
- curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh | ||
- ddev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* Base tasks for setting up a module to test within a full Drupal environment. | ||
* | ||
* @class RoboFile | ||
* @codeCoverageIgnore | ||
*/ | ||
class RoboFile extends \Robo\Tasks | ||
{ | ||
|
||
public function __construct() | ||
{ | ||
$this->stopOnFail(); | ||
} | ||
|
||
public function jobRunCodingStandardCheck() { | ||
return $this->taskExecStack() | ||
->stopOnFail() | ||
->exec('vendor/bin/phpcs --config-set installed_path vendor/drupal/coder/coder_sniffer') | ||
->exec('vendor/bin/phpcs --standard=Drupal web/modules') | ||
->exec('vendor/bin/phpcs --standard=DrupalPractice web/modules') | ||
->run(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.