Fix test environment type

This commit is contained in:
Damian Mooyman 2017-10-02 17:13:00 +13:00
parent b219e40ff7
commit 85255891be
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,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:
fast_finish: true
@ -78,7 +80,6 @@ before_script:
- php ./tests/dump_constants.php
# 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 cp composer.lock artifacts/; fi
- if [[ $BEHAT_TEST ]]; then sh -e /etc/init.d/xvfb start; sleep 3; fi