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