mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7692 from open-sausages/pulls/4.1/composer-does-prefer-dist
Feature Set .gitattributes to ignore docs and tests folder, and …
This commit is contained in:
commit
c0efb7bb97
10
.gitattributes
vendored
10
.gitattributes
vendored
@ -1,4 +1,12 @@
|
|||||||
docs/ export-ignore
|
/tests export-ignore
|
||||||
|
/docs export-ignore
|
||||||
|
/.tx export-ignore
|
||||||
|
/.gitattributes export-ignore
|
||||||
|
/.gitignore export-ignore
|
||||||
|
/.travis.yml export-ignore
|
||||||
|
/.scrutinizer.yml export-ignore
|
||||||
|
/*.dist export-ignore
|
||||||
|
/behat.yml export-ignore
|
||||||
|
|
||||||
# Line endings
|
# Line endings
|
||||||
sake text eol=lf
|
sake text eol=lf
|
||||||
|
@ -81,7 +81,7 @@ before_script:
|
|||||||
- composer require silverstripe/recipe-core:1.1.x-dev silverstripe/admin:1.1.x-dev silverstripe/versioned:1.1.x-dev --no-update
|
- composer require silverstripe/recipe-core:1.1.x-dev silverstripe/admin:1.1.x-dev silverstripe/versioned:1.1.x-dev --no-update
|
||||||
- if [[ $PHPUNIT_TEST == cms ]] || [[ $BEHAT_TEST == cms ]]; then composer require silverstripe/recipe-cms:1.1.x-dev --no-update; fi
|
- if [[ $PHPUNIT_TEST == cms ]] || [[ $BEHAT_TEST == cms ]]; then composer require silverstripe/recipe-cms:1.1.x-dev --no-update; fi
|
||||||
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
|
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi
|
||||||
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||||
|
|
||||||
# Log constants to CI for debugging purposes
|
# Log constants to CI for debugging purposes
|
||||||
- php ./tests/dump_constants.php
|
- php ./tests/dump_constants.php
|
||||||
|
Loading…
Reference in New Issue
Block a user