12 - $HOME/.composer/cache
35 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
45 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
48 - if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.10; fi;
49 - if [[ $ASSETS = build ]]; then npm install -g yarn@latest; fi;
50 - if [[ $ASSETS = build ]]; then yarn install; fi;
53 - PHP=$TRAVIS_PHP_VERSION
54 - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
55 - phpenv config-rm xdebug.ini || echo "xdebug not available"
56 - composer self-update --no-progress
58 - pear config-set preferred_state beta
59 - pecl channel-update pecl.php.net
60 - yes | pecl install imagick
63 - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist
65 - echo "travis_fold:start:prepare"
67 - echo "travis_fold:end:prepare"
71 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then SYMFONY_PHPUNIT_VERSION=6.5 ./bin/simple-phpunit -v ; fi;
72 # PHPStan needs PHPUnit to be installed and cache app to be generated
73 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then php bin/phpstan analyse src tests --no-progress --level 1 ; fi;
74 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
75 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
76 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v ; fi;
77 - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v ; fi;
78 - if [[ $ASSETS = build ]]; then yarn run build:prod; fi;