Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
CI: first pass at standardising project development local setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgibbs committed Apr 7, 2019
1 parent fb43dfc commit 252bdb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ vendor/

.DS_Store
npm-debug.log
wp-cli.yml
/selenium.log

/tests/app/www
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@
"ci-tests": [
"@test:behat-ci"
],
"local-tests": [
"tests": [
"@test:behat-local"
],

"test:behat-ci": [
"vendor/bin/behat --colors --format progress"
],
"test:behat-local": [
"echo 'Make sure Selenium is running!'",
"BEHAT_PARAMS='{\"extensions\":{\"Behat\\\\MinkExtension\":{\"base_url\":\"http://behat.local\"},\"PaulGibbs\\\\WordpressBehatExtension\":{\"site_url\":\"http://behat.local/wp\",\"wpcli\":{\"alias\":\"dev\"}}}}' vendor/bin/behat --colors"
]
}
}
3 changes: 3 additions & 0 deletions wp-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@dev:
ssh: [email protected]
path: /vagrant/wp

0 comments on commit 252bdb2

Please sign in to comment.