Skip to content

Commit

Permalink
Lock dependencies for Code Quality stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Nov 14, 2018
1 parent 871015c commit 6cb8af0
Show file tree
Hide file tree
Showing 3 changed files with 2,668 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ lib/Doctrine/DBAL
.idea
*.iml
vendor/
composer.lock
/tests/Doctrine/Performance/history.db
/.phpcs-cache
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- stage: Code Quality
env: DB=none STATIC_ANALYSIS
install: travis_retry composer update --prefer-dist --prefer-stable
install: travis_retry composer install --prefer-dist
before_script:
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
Expand All @@ -93,13 +93,15 @@ jobs:
if: NOT type = pull_request
env: DB=none CODING_STANDARDS
php: 7.1
install: travis_retry composer install --prefer-dist
script:
- ./vendor/bin/phpcs

- stage: Code Quality
if: type = pull_request
env: DB=none PULL_REQUEST_CODING_STANDARDS
php: 7.1
install: travis_retry composer install --prefer-dist
script:
- |
if [ $TRAVIS_BRANCH != "master" ]; then
Expand Down
Loading

0 comments on commit 6cb8af0

Please sign in to comment.