-
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.
Merge pull request #24 from Sweetchuck/i23-composer-plugin
composer plugin
- Loading branch information
Showing
52 changed files
with
3,514 additions
and
1,371 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 |
---|---|---|
|
@@ -45,21 +45,19 @@ commands: | |
restore_cache: | ||
name: 'Composer - cache restore' | ||
keys: | ||
- 'composer-{{ checksum "./composer.lock" }}-1' | ||
- 'composer-{{ checksum "./composer.lock" }}-2' | ||
|
||
- | ||
run: | ||
name: 'Composer - install' | ||
command: > | ||
[[ -d "$(composer config vendor-dir)" ]] || composer install --no-progress | ||
composer install --no-progress --ansi | ||
- | ||
save_cache: | ||
name: 'Composer - cache save' | ||
key: 'composer-{{ checksum "./composer.lock" }}-1' | ||
key: 'composer-{{ checksum "./composer.lock" }}-2' | ||
paths: | ||
- './bin/' | ||
- './vendor/' | ||
- '~/.composer/cache/' | ||
|
||
|
||
|
@@ -69,25 +67,27 @@ commands: | |
- | ||
run: | ||
name: 'Run linters' | ||
command: 'bin/robo lint' | ||
command: 'bin/robo --ansi lint' | ||
|
||
test: | ||
description: 'Run tests' | ||
steps: | ||
- | ||
run: | ||
name: 'Git config user.name and user.email' | ||
command: | | ||
git config --global user.name 'Circle CI' | ||
git config --global user.email '[email protected]' | ||
- | ||
run: | ||
name: 'Run Behat tests' | ||
command: 'bin/robo test' | ||
- | ||
store_test_results: | ||
name: 'Codeception - unit' | ||
command: 'bin/robo --ansi test unit' | ||
- codecov/upload: | ||
flags: 'unit' | ||
file: './tests/_output/machine/coverage/unit/coverage.xml' | ||
- run: | ||
name: 'Codeception - acceptance' | ||
command: 'bin/robo --ansi test acceptance' | ||
- codecov/upload: | ||
flags: 'acceptance' | ||
file: './tests/_output/machine/coverage/acceptance/coverage.xml' | ||
- store_test_results: | ||
name: 'Store unit test results' | ||
path: './reports/machine/junit' | ||
path: './tests/_output/machine/junit' | ||
|
||
jobs: | ||
build: | ||
|
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
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,8 +1,17 @@ | ||
|
||
/bin/ | ||
/fixtures/project-template/*/vendor/ | ||
|
||
/reports/ | ||
|
||
/tests/_data/fixtures/project-template/*/vendor/ | ||
/tests/_output/ | ||
/tests/_support/_generated/ | ||
/tests/*.suite.yml | ||
|
||
/vendor/ | ||
|
||
/.git-hooks-local | ||
/codeception.yml | ||
/phpcs.xml | ||
/sweetchuck-git-hooks-*.tar | ||
/sweetchuck-git-hooks-*.zip |
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
Oops, something went wrong.