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