@@ -26,6 +26,9 @@ before_install:
2626 - echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
2727 - mkdir -p "${SYLIUS_CACHE_DIR}"
2828
29+ - cp tests/Application/.env.test.dist tests/Application/.env.test
30+ - set -a && source tests/Application/.env.test && set +a
31+
2932install :
3033 - composer require "symfony/symfony:${SYMFONY_VERSION}" --no-interaction --no-update
3134 - composer install --no-interaction --prefer-dist
@@ -34,7 +37,7 @@ install:
3437before_script :
3538 - (cd tests/Application && bin/console doctrine:database:create --env=test -vvv)
3639 - (cd tests/Application && bin/console doctrine:schema:create --env=test -vvv)
37- - (cd tests/Application && bin/console assets:install web --env=test -vvv)
40+ - (cd tests/Application && bin/console assets:install public --env=test -vvv)
3841 - (cd tests/Application && bin/console cache:warmup --env=test -vvv)
3942 - (cd tests/Application && yarn build)
4043
@@ -65,15 +68,15 @@ before_script:
6568 - java -Dwebdriver.chrome.driver=$SYLIUS_CACHE_DIR/chromedriver -jar $SYLIUS_CACHE_DIR/selenium.jar > /dev/null 2>&1 &
6669
6770 # Run webserver
68- - (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d web --env=test --quiet > /dev/null 2>&1 &)
71+ - (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d public --env=test --quiet > /dev/null 2>&1 &)
6972
7073script :
7174 - composer validate --strict
72- - bin/phpstan.phar analyse -c phpstan.neon -l max src/
75+ - vendor/ bin/phpstan analyse -c phpstan.neon -l max src/
7376
74- - bin/phpunit
75- - bin/phpspec run
76- - bin/behat --strict -vvv --no-interaction || bin/behat --strict -vvv --no-interaction --rerun
77+ - vendor/ bin/phpunit
78+ - vendor/ bin/phpspec run
79+ - vendor/ bin/behat --strict -vvv --no-interaction || vendor/ bin/behat --strict -vvv --no-interaction --rerun
7780
7881after_failure :
7982 - vendor/lakion/mink-debug-extension/travis/tools/upload-textfiles "${SYLIUS_BUILD_DIR}/*.log"
0 commit comments