Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
dependencies:
override:
- composer install --ignore-platform-reqs --no-interaction --no-scripts
- npm install -g 'yarn'
- yarn install --force
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
#tests:
# services:
# mysql: 5.7
# elasticsearch: 7.12.1
# tests:
# before:
# - sudo mysql -u root -e "CREATE USER 'homestead'@'%' IDENTIFIED BY 'secret';"
# - sudo mysql -u root -e "GRANT ALL ON omm_test.* TO 'homestead'@'%';"
# - php bin/console doctrine:database:create --env=test
# - php bin/console doctrine:schema:create --env=test
# - php bin/console doctrine:fixtures:load -n -vvv --env=test
# - ls -la /home/scrutinizer/build/public/uploads/images/
# - php -i | grep -i configure
# - php -r 'print_r(gd_info());'
# override:
# - php ./bin/phpunit
# dependencies:
# before:
# - sudo apt-get install -y exiftool
# - sudo apt-get install -y libjpeg-turbo8-dev libjpeg-turbo8
environment:
php:
version: 7.4.3 # match Dayna for now
# compile_options: --with-config-file-path=/home/scrutinizer/.phpenv/versions/7.4.3/etc --with-config-file-scan-dir=/home/scrutinizer/.phpenv/versions/7.4.3/etc/conf.d --prefix=/home/scrutinizer/.phpenv/versions/7.4.3 --libexecdir=/home/scrutinizer/.phpenv/versions/7.4.3/libexec --enable-intl --with-openssl --without-pear --enable-gd --with-jpeg --with-png-dir=/usr --with-freetype-dir=/usr --enable-exif --with-libzip --with-zlib --with-zlib-dir=/usr --with-sodium --with-pdo-sqlite --enable-soap --enable-xmlreader --with-xsl --enable-ftp --with-tidy --with-xmlrpc --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-shmop --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --with-readline --enable-mbstring --with-curl --with-pgsql --with-pdo-pgsql --with-gettext --enable-sockets --with-bz2 --enable-bcmath --enable-calendar --with-libdir=lib --enable-fpm --enable-maintainer-zts --with-gmp --with-kerberos --with-imap --with-imap-ssl --with-apxs2=/usr/bin/apxs --with-ldap --with-pear=/home/scrutinizer/.phpenv/versions/7.4.3/pear
node:
version: 17.1.0
variables:
APP_SECRET: '60f86b9041f9d83add056497f9616159ca90c437'
TEST_EXIFTOOL_PATH: '/usr/bin/exiftool'
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- '*.min.js'
- '*/vendor/*'
- 'src/Kernel.php' # It wasn't me, guv...
dependency_paths:
- 'src/Kernel.php'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true