diff --git a/.travis.yml b/.travis.yml index 9ae1330be..570c191a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,9 @@ jobs: - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1680x1050x16 - export DISPLAY=:99 + # Download Symfony command + - wget https://get.symfony.com/cli/installer -O - | bash + # Download and configure ChromeDriver - | if [ ! -f $SYLIUS_CACHE_DIR/chromedriver ] || [ "$($SYLIUS_CACHE_DIR/chromedriver --version | grep -c 2.34)" = "0" ]; then @@ -74,7 +77,7 @@ jobs: - java -Dwebdriver.chrome.driver=$SYLIUS_CACHE_DIR/chromedriver -jar $SYLIUS_CACHE_DIR/selenium.jar > /dev/null 2>&1 & # Run webserver - - (cd tests/Application && bin/console server:run 127.0.0.1:8080 --quiet > /dev/null 2>&1 &) + - /home/travis/.symfony/bin/symfony server:start --port=8080 --dir=public --allow-http --no-tls --force-php-discovery --daemon script: - composer validate --strict