From a2f0a79b21ab99e5b821f824e7290eb11d5d0e9c Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Mon, 2 Oct 2017 17:05:54 +1300 Subject: [PATCH] Fix test environment type --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 16bd0455..8480ebb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ env: - COMPOSER_ROOT_VERSION="4.0.x-dev" - DISPLAY=":99" - XVFBARGS=":99 -ac -screen 0 1024x768x16" + - SS_BASE_URL="http://localhost:8080/" + - SS_ENVIRONMENT_TYPE="dev" matrix: include: @@ -52,7 +54,6 @@ before_script: - if [[ $NPM_TEST ]]; then nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION && npm install -g yarn && yarn install --network-concurrency 1 && yarn run build; fi # Start behat services - - if [[ $BEHAT_TEST ]]; then echo 'SS_BASE_URL=http://localhost:8080/' >> .env; fi - if [[ $BEHAT_TEST ]]; then mkdir artifacts; fi - if [[ $BEHAT_TEST ]]; then sh -e /etc/init.d/xvfb start; sleep 3; fi - if [[ $BEHAT_TEST ]]; then (vendor/bin/selenium-server-standalone > artifacts/selenium.log 2>&1 &); fi