Skip to content

Commit 0aefd2a

Browse files
committed
[ci] update composer to version 2 to pass scrutinizer ci successfully
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
1 parent 59665c3 commit 0aefd2a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.scrutinizer.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
build:
22
environment:
3-
php: 7.2.0
3+
php: 7.2.5
44
nodes:
55
analysis:
66
dependencies:
77
before:
8+
- mkdir -p $HOME/bin
9+
- curl -sS https://getcomposer.org/composer-2.phar -o $HOME/bin/composer
10+
- chmod +x $HOME/bin/composer
11+
- export PATH=$HOME/bin:$PATH
12+
- composer --version
13+
- composer global require squizlabs/php_codesniffer
814
- command: 'mkdir -p 3rdParty/buildCache && wget https://ftp.drupal.org/files/projects/drupal-6.38.tar.gz -O drupal-6.38.tar.gz && tar -C 3rdParty/buildCache/ -xzf drupal-6.38.tar.gz'
915
not_if: 'test -e 3rdParty/buildCache/drupal-6.38'
1016
cache:
@@ -30,6 +36,7 @@ filter:
3036
- 'drupal/sites/default/modules/boinc/*'
3137
- 'drupal/sites/default/themes/boinc/*'
3238
- 'tests/server-test/*'
39+
- '3rdParty/buildCache/drupal-6.38/*'
3340
dependency_paths:
3441
- 'html/inc/htmLawed.php'
3542
- 'drupal/sites/all/libraries/*'

0 commit comments

Comments
 (0)