-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
appveyor.yml
37 lines (37 loc) · 1.71 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '{build}'
platform:
- x64
clone_depth: 1
max_jobs: 3
cache:
- '%LOCALAPPDATA%\Composer'
- '%LOCALAPPDATA%\Temp\Chocolatey'
environment:
ANSICON: 121x90 (121x90)
matrix:
# @todo learn how to have Chocolately install latest minor without specifying patch version.
- { PHP_VERSION: '7.2.33' }
- { PHP_VERSION: '7.3.22' }
install:
# Enable Windows Update service, needed to install vcredist2015 (dependency of php)
- ps: Set-Service wuauserv -StartupType Manual
- choco config set cacheLocation %LOCALAPPDATA%\Temp\Chocolatey
- choco install -y php --version %PHP_VERSION%
- choco install -y composer
- refreshenv
- SET | more
- composer install --no-interaction --no-progress --no-suggest --prefer-dist
- set COMPOSER_MEMORY_LIMIT=-1&& composer create-project drupal-composer/drupal-project:8.x-dev %APPVEYOR_BUILD_FOLDER%\..\drupal --no-interaction --prefer-dist --ignore-platform-reqs --no-install
- cd %APPVEYOR_BUILD_FOLDER%\..\drupal
- composer config --no-plugins allow-plugins.cweagans/composer-patches true
- composer config --no-plugins allow-plugins.composer/installers true
- composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
- composer config --no-plugins allow-plugins.zaporylie/composer-drupal-optimizations true
- composer config --no-plugins allow-plugins.drupal/console-extend-plugin true
- composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
- set COMPOSER_MEMORY_LIMIT=-1&& composer install --no-interaction --ignore-platform-req=ext-gd
- cd %APPVEYOR_BUILD_FOLDER%
build: off
test_script:
- php drupal-check --version
- php drupal-check %APPVEYOR_BUILD_FOLDER%\..\drupal\web\core\install.php -vvv