forked from extcode/cart_paypal
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Make extension compatible to cart v6.3
Resolves: extcode#14
- Loading branch information
Showing
53 changed files
with
1,463 additions
and
1,296 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,4 @@ | ||
/Build/ export-ignore | ||
/.gitattributes export-ignore | ||
/.gitlab-ci.yml export-ignore | ||
/.travis.yml 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 |
---|---|---|
@@ -1,20 +1,64 @@ | ||
cache: | ||
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE" | ||
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME" | ||
paths: | ||
- .composer/ | ||
- .php_cs.cache | ||
|
||
variables: | ||
COMPOSER_CACHE_DIR: ".composer" | ||
TYPO3_PATH_WEB: "$CI_PROJECT_DIR/.Build/Web" | ||
MYSQL_DATABASE: "typo3" | ||
MYSQL_ROOT_PASSWORD: "joh316" | ||
typo3DatabaseName: "typo3" | ||
typo3DatabaseHost: "mysql" | ||
typo3DatabaseUsername: "root" | ||
typo3DatabasePassword: "joh316" | ||
|
||
before_script: | ||
- apk add git --update | ||
|
||
stages: | ||
- test | ||
- lint | ||
|
||
lint:cgl: | ||
image: composer:1.6 | ||
stage: lint | ||
before_script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install --no-progress --no-ansi --no-interaction | ||
script: | ||
- .Build/bin/php-cs-fixer fix --config=Build/.php_cs.dist -v --dry-run --using-cache=no --path-mode=intersection ./ | ||
|
||
lint:typoscriptcgl: | ||
stage: lint | ||
image: composer:1.6 | ||
script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install --no-progress --no-ansi --no-interaction | ||
- .Build/bin/typoscript-lint -c tslint.yaml | ||
|
||
test:cgl: | ||
image: composer:1.3 | ||
stage: test | ||
lint:yaml: | ||
stage: lint | ||
image: python:alpine3.7 | ||
before_script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install | ||
- pip install yamllint==1.10.0 | ||
script: | ||
- yamllint -c Build/yamllint.yaml Configuration/ Resources/ .travis.yml | ||
|
||
lint:php70: | ||
stage: lint | ||
image: php:7.0-alpine | ||
script: | ||
- find . -name \*.php -exec php -l "{}" \; | ||
|
||
lint:php71: | ||
stage: lint | ||
image: php:7.1-alpine | ||
script: | ||
- find . -name \*.php -exec php -l "{}" \; | ||
|
||
lint:php72: | ||
stage: lint | ||
image: php:7.2-alpine | ||
script: | ||
- .Build/bin/php-cs-fixer fix --config=Build/.php_cs -v --dry-run --using-cache=no --path-mode=intersection | ||
- find . -name \*.php -exec php -l "{}" \; |
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,49 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.2 | ||
env: TYPO3_VERSION=^8.7 | ||
- php: 7.1 | ||
env: TYPO3_VERSION=^8.7 | ||
- php: 7 | ||
env: TYPO3_VERSION=^8.7 | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- parallel | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
|
||
before_install: | ||
- echo $TRAVIS_PHP_VERSION | ||
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi | ||
- composer self-update | ||
- composer --version | ||
|
||
before_script: | ||
- composer require typo3/cms=$TYPO3_VERSION | ||
- git checkout composer.json | ||
- export TYPO3_PATH_WEB="$PWD/.Build/Web" | ||
|
||
script: | ||
|
||
- > | ||
echo; | ||
echo "Running php lint"; | ||
find . -name \*.php ! -path "./.Build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \; | ||
- > | ||
echo; | ||
echo "Running php-cs-fixer"; | ||
.Build/bin/php-cs-fixer fix --config=Build/.php_cs -v --dry-run --using-cache=no --path-mode=intersection ./; |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
extends: default | ||
|
||
rules: | ||
line-length: disable | ||
document-start: disable | ||
braces: | ||
min-spaces-inside-empty: 1 | ||
max-spaces-inside-empty: 1 | ||
brackets: | ||
min-spaces-inside-empty: 1 | ||
max-spaces-inside-empty: 1 | ||
comments: | ||
level: error | ||
min-spaces-from-content: 1 | ||
comments-indentation: | ||
level: error | ||
empty-lines: | ||
max: 1 | ||
empty-values: | ||
forbid-in-block-mappings: true | ||
forbid-in-flow-mappings: true | ||
indentation: | ||
spaces: 2 |
Oops, something went wrong.