-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move tests over to CircleCI * Remove travis configuration
- Loading branch information
1 parent
8981685
commit 78f98a3
Showing
10 changed files
with
7,896 additions
and
772 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,59 @@ | ||
defaults: &defaults | ||
working_directory: ~/behat-drush | ||
environment: | ||
TZ: "/usr/share/zoneinfo/America/Los_Angeles" | ||
TERM: dumb | ||
PHPUNIT_ARGS: "" | ||
PHP_SENDMAIL_PATH: /dev/null | ||
|
||
version: 2.1 | ||
jobs: | ||
test_72_drupal8: | ||
<<: *defaults | ||
docker: | ||
- image: wodby/php:7.2 | ||
environment: | ||
- MYSQL_HOST=127.0.0.1 | ||
- UNISH_DB_URL=mysql://root:@127.0.0.1 | ||
- image: circleci/mysql:5.7.24 | ||
steps: | ||
- checkout | ||
- run: cp .circleci/zz-php.ini /usr/local/etc/php/conf.d/ | ||
- run: composer install -n | ||
- run: composer test | ||
|
||
test_72_drush8: | ||
<<: *defaults | ||
docker: | ||
- image: wodby/php:7.2 | ||
environment: | ||
- MYSQL_HOST=127.0.0.1 | ||
- UNISH_DB_URL=mysql://root:@127.0.0.1 | ||
- image: circleci/mysql:5.7.24 | ||
steps: | ||
- checkout | ||
- run: cp .circleci/zz-php.ini /usr/local/etc/php/conf.d/ | ||
- run: .scenarios.lock/install drush8 | ||
- run: composer test | ||
|
||
test_73_drupal9: | ||
<<: *defaults | ||
docker: | ||
- image: wodby/php:7.3 | ||
environment: | ||
- MYSQL_HOST=127.0.0.1 | ||
- UNISH_DB_URL=mysql://root:@127.0.0.1 | ||
- image: circleci/mysql:5.7.24 | ||
steps: | ||
- checkout | ||
- run: cp .circleci/zz-php.ini /usr/local/etc/php/conf.d/ | ||
- run: .scenarios.lock/install drupal9 | ||
- run: composer test | ||
|
||
workflows: | ||
version: 2 | ||
example-drush-extension: | ||
jobs: | ||
- test_72_drupal8 | ||
- test_72_drush8 | ||
- test_73_drupal9 |
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,5 @@ | ||
[PHP] | ||
variables_order = GPCS | ||
error_reporting = E_ALL & ~E_DEPRECATED | ||
date.timezone = "UTC" | ||
sendmail_path = "true" |
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 @@ | ||
vendor |
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,88 @@ | ||
{ | ||
"name": "drush/example-drush-extension", | ||
"description": "Example Drush site-wide extension", | ||
"type": "drupal-drush", | ||
"license": "GPL-2.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Greg Anderson" | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://packages.drupal.org/8" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.6", | ||
"consolidation/site-alias": "^3.0.1", | ||
"consolidation/site-process": "^2.1 || ^4" | ||
}, | ||
"require-dev": { | ||
"drupal/core-recommended": "^9@rc", | ||
"drupal/core": "^9@rc", | ||
"drupal/core-composer-scaffold": "^9@rc", | ||
"pantheon-systems/drupal-integrations": "^9", | ||
"composer/installers": "^1.2", | ||
"drush/drush": "^8.3.3 || ^10.2.2", | ||
"g1a/composer-test-scenarios": "^3.0.2", | ||
"phpunit/phpunit": "^6.5", | ||
"symfony/filesystem": "^3.4.28", | ||
"webflo/drupal-finder": "^1.1.0", | ||
"webmozart/path-util": "^2.3", | ||
"zaporylie/composer-drupal-optimizations": "^1.0.2" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"platform": { | ||
"php": "7.3" | ||
}, | ||
"sort-packages": true, | ||
"vendor-dir": "../../vendor" | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"TestUtils\\": "../../tests/src/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit --color=always", | ||
"drush": "drush" | ||
}, | ||
"extra": { | ||
"installer-paths": { | ||
"../../sut/web/core": [ | ||
"type:drupal-core" | ||
], | ||
"../../sut/web/libraries/{$name}": [ | ||
"type:drupal-library" | ||
], | ||
"../../sut/web/modules/contrib/{$name}": [ | ||
"type:drupal-module" | ||
], | ||
"../../sut/web/profiles/contrib/{$name}": [ | ||
"type:drupal-profile" | ||
], | ||
"../../sut/web/themes/contrib/{$name}": [ | ||
"type:drupal-theme" | ||
], | ||
"../../drush/Commands/{$name}": [ | ||
"type:drupal-drush" | ||
] | ||
}, | ||
"drupal-scaffold": { | ||
"allowed-packages": [ | ||
"pantheon-systems/drupal-integrations" | ||
], | ||
"locations": { | ||
"web-root": "../../sut/web" | ||
}, | ||
"file-mapping": { | ||
"[project-root]/.editorconfig": false, | ||
"[project-root]/.gitattributes": false | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.