Skip to content

Commit

Permalink
Apply new dependencies policy
Browse files Browse the repository at this point in the history
We no longer put composer.lock under version control and resort to
composer install. Instead, if a tool breaks often, we use tighter
version constraints for it.
  • Loading branch information
greg0ire committed Nov 8, 2020
1 parent 8aa64b4 commit 2e93395
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4,704 deletions.
3 changes: 1 addition & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ install:
# install composer dependencies
- cd C:\projects\migrations
- rm composer.lock
- appveyor-retry composer self-update
- appveyor-retry composer install --no-progress --prefer-dist
- appveyor-retry composer update --no-progress --prefer-dist

test_script:
- vendor\bin\phpunit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ phpunit.xml
/.phpcs-cache
/box.phar
/box.json
/composer.lock

# Please don't add your IDE's files here, use global gitignore instead.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ before_install:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available"

install:
- rm composer.lock
- travis_retry composer update --prefer-dist
- ./download-box.sh

Expand All @@ -28,7 +27,6 @@ jobs:
- stage: Test
env: DEPENDENCIES=low
install:
- rm composer.lock
- travis_retry composer update --prefer-dist --prefer-lowest
- ./download-box.sh

Expand All @@ -45,10 +43,10 @@ jobs:

- stage: Code Quality
env: CODING_STANDARDS
install: travis_retry composer install --prefer-dist
install: travis_retry composer update --prefer-dist
script: ./vendor/bin/phpcs

- stage: Code Quality
env: STATIC_ANALYSIS
install: travis_retry composer install --prefer-dist
install: travis_retry composer update --prefer-dist
script: vendor/bin/phpstan analyse
Loading

0 comments on commit 2e93395

Please sign in to comment.