Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ commands:
- restore_cache:
keys:
- *composer-cache
- run: composer global require "hirak/prestissimo:^0.3"
install-dependencies:
steps:
- run: composer install -n --prefer-dist
Expand All @@ -31,17 +30,16 @@ commands:
parameters:
project:
type: string
default: 'drupal/recommended-project:^8.8@alpha'
default: 'drupal/recommended-project'
steps:
- run: composer create-project << parameters.project >> /tmp/drupal --no-interaction --prefer-dist --ignore-platform-reqs
- run: composer require zaporylie/composer-drupal-optimizations:^1.1 --dev --working-dir=/tmp/drupal
local-require:
steps:
- run:
name: Add as local
command: |
cd /tmp/drupal
composer require --dev drupal/core-dev:^8.8
composer require --dev drupal/core-dev:^9.0
composer config repositories.1 '{"type": "path", "url": "'${CIRCLE_WORKING_DIRECTORY}'", "options": { "symlink": false }}'
composer require --dev mglaman/phpstan-drupal "*"
cat composer.json
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: php
php:
- "7.2"
- "7.3"
- "7.4"

install:
- composer install --no-interaction
- COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal-composer/drupal-project:8.x-dev $TRAVIS_BUILD_DIR/../drupal --no-interaction --no-progress
- COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project $TRAVIS_BUILD_DIR/../drupal --no-interaction --no-progress
script:
# Inspections
- ./vendor/bin/phpcs src
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"require-dev": {
"phpstan/phpstan-strict-rules": "^0.12.0",
"squizlabs/php_codesniffer": "^3.3",
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^8.4.1 || ^9",
"phpstan/phpstan-deprecation-rules": "~0.12.0",
"composer/installers": "^1.6",
"drupal/core-recommended": "^8.8@alpha",
"drush/drush": "^9.6"
"drupal/core-recommended": "^9.0",
"drupal/core-dev": "^9.0",
"drush/drush": "^10.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down