3 # faster builds on docker-container setup
17 - $HOME/.composer/cache
34 # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
44 - mysql-client-core-5.6
54 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite
66 - PHP=$TRAVIS_PHP_VERSION
67 - if [[ ! $PHP = hhvm* ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
68 # xdebug isn't enable for PHP 7.1
69 - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
70 - composer self-update --no-progress
71 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
74 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
77 - travis_wait composer install --no-interaction --no-progress --prefer-dist -o
80 - if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
81 - if [ "$VALIDATE_TRANSLATION_FILE" = "run" ]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;