-
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
4ec3dbe
commit d1418de
Showing
25 changed files
with
1,982 additions
and
1 deletion.
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 |
---|---|---|
@@ -1 +0,0 @@ | ||
/site | ||
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,46 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
bedrock: | ||
executors: | ||
php-73: | ||
docker: | ||
- image: 'circleci/php:7.3-stretch' | ||
php-72: | ||
docker: | ||
- image: 'circleci/php:7.2-stretch' | ||
php-71: | ||
docker: | ||
- image: 'circleci/php:7.1-stretch' | ||
jobs: | ||
build-php: | ||
parameters: | ||
executor: | ||
type: executor | ||
executor: << parameters.executor >> | ||
steps: | ||
- run: php -v | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- composer-v1-{{ checksum "composer.lock" }} | ||
- composer-v1- | ||
- run: composer install -n --prefer-dist | ||
- run: composer test | ||
- save_cache: | ||
key: composer-v1-{{ checksum "composer.lock" }} | ||
paths: | ||
- vendor | ||
|
||
workflows: | ||
build: | ||
jobs: | ||
- bedrock/build-php: | ||
name: build-php-73 | ||
executor: bedrock/php-73 | ||
- bedrock/build-php: | ||
name: build-php-72 | ||
executor: bedrock/php-72 | ||
- bedrock/build-php: | ||
name: build-php-71 | ||
executor: bedrock/php-71 |
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,15 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.php] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
DB_NAME='database_name' | ||
DB_USER='database_user' | ||
DB_PASSWORD='database_password' | ||
|
||
# Optionally, you can use a data source name (DSN) | ||
# When using a DSN, you can remove the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables | ||
# DATABASE_URL='mysql://database_user:database_password@database_host:database_port/database_name' | ||
|
||
# Optional variables | ||
# DB_HOST='localhost' | ||
# DB_PREFIX='wp_' | ||
|
||
WP_ENV='development' | ||
WP_HOME='http://example.com' | ||
WP_SITEURL='${WP_HOME}/wp' | ||
|
||
# Generate your keys here: https://roots.io/salts.html | ||
AUTH_KEY='generateme' | ||
SECURE_AUTH_KEY='generateme' | ||
LOGGED_IN_KEY='generateme' | ||
NONCE_KEY='generateme' | ||
AUTH_SALT='generateme' | ||
SECURE_AUTH_SALT='generateme' | ||
LOGGED_IN_SALT='generateme' | ||
NONCE_SALT='generateme' |
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,3 @@ | ||
/.circleci export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore |
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,14 @@ | ||
name: Issue closer | ||
on: [issues] | ||
jobs: | ||
autoclose: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Autoclose issues that did not follow issue template | ||
uses: roots/issue-closer@v1.1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-close-message: "Hi @${issue.user.login}, | ||
It looks like the issue template is missing from this issue. Please take a look at the [Contribution Guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md), which will tell you **exactly** what your ticket has to contain in order to be processable. | ||
Please **do not** use the issue tracker for personal support requests. Use [Roots Discourse](https://discourse.roots.io/) to ask the Roots community for help, or [hire someone from the community](https://discourse.roots.io/c/jobs)." | ||
issue-pattern: ".*guidelines for Contributing.*" |
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 @@ | ||
# Application | ||
web/app/plugins/* | ||
!web/app/plugins/.gitkeep | ||
web/app/mu-plugins/*/ | ||
web/app/upgrade | ||
web/app/uploads/* | ||
!web/app/uploads/.gitkeep | ||
|
||
# WordPress | ||
web/wp | ||
web/.htaccess | ||
|
||
# Logs | ||
*.log | ||
|
||
# Dotenv | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Composer | ||
/vendor | ||
|
||
# WP-CLI | ||
wp-cli.local.yml |
Oops, something went wrong.