Skip to content

Commit

Permalink
Merge pull request #4 from terminus-plugin-project/v1.0.4
Browse files Browse the repository at this point in the history
v1.0.4
  • Loading branch information
sean-e-dietrich authored Apr 1, 2017
2 parents f712d4e + affae7e commit a6fd74b
Show file tree
Hide file tree
Showing 9 changed files with 320 additions and 125 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/vendor/
.idea
/bats/
/bin/
/libexec/
/share/
/.idea/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Terminus Upstream Deployment Plugin

[![CircleCI](https://circleci.com/gh/terminus-plugin-project/terminus-upstream-deployment-plugin/tree/1.x.svg?style=svg)](https://circleci.com/gh/terminus-plugin-project/terminus-upstream-deployment-plugin/tree/1.x)
[![Terminus v1.x Compatible](https://img.shields.io/badge/terminus-v1.x-green.svg)](https://github.com/terminus-plugin-project/terminus-upstream-deployment-plugin/tree/1.x)

Terminus plugin to automate the process of updating a site through the upstream. This performs a backup before applying upstream updates.
Expand Down
24 changes: 24 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
# Test the Terminus Composer Plugin
#
machine:
timezone:
America/Chicago
php:
version: 7.0.11
environment:
PATH: $PATH:~/.composer/vendor/bin:~/.config/composer/vendor/bin:$HOME/bin

dependencies:
cache_directories:
- ~/.composer/cache
override:
- composer install --prefer-dist -n
- composer install-bats
- composer global require -n "consolidation/cgr"
- cgr "pantheon-systems/terminus:dev-master"
post:
- terminus auth:login --machine-token=$TERMINUS_TOKEN
test:
override:
- composer test
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@
"backup",
"deployment"
],
"scripts": {
"install-bats": "if [ ! -f bin/bats ] ; then git clone https://github.com/sstephenson/bats.git; mkdir -p bin; bats/install.sh .; fi",
"bats": "TERMINUS_PLUGINS_DIR=.. bin/bats tests",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"test": [
"@install-bats",
"@bats",
"@cs"
]
},
"require": {
"php": ">=5.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.7"
},
"support": {
"issues": "https://github.com/terminus-plugin-project/terminus-upstream-deployment-plugin/issues"
},
Expand Down
85 changes: 82 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6fd74b

Please sign in to comment.