You are here

01-setup-environment.sh in Thunder 8.2

Same filename and directory in other branches
  1. 8.3 scripts/travis/01-setup-environment.sh
#!/usr/bin/env bash

## Setup environment
# add composer's global bin directory to the path
# see: https://github.com/drush-ops/drush#install---composer
export THUNDER_DIST_DIR=`echo $(pwd -P)`
export TEST_DIR=`echo ${THUNDER_DIST_DIR}"/../test-dir"`
export PATH="$TEST_DIR/bin:$HOME/.composer/vendor/bin:$PATH"
export MINK_DRIVER_ARGS_WEBDRIVER='["chrome", null, "http://localhost:4444/wd/hub"]'

# base path for update tests
export UPDATE_BASE_PATH=${TEST_DIR}-update-base

# Set version of imagick
export PHP_IMAGICK_VERSION="3.4.3"

# Set version for Yaml PHP library
export PHP_YAML_VERSION="2.0.4"

export DEPLOYMENT_DUMP_FILE="${TEST_DIR}/dump_thunder_test_deployment.sql"

File

scripts/travis/01-setup-environment.sh
View source
  1. #!/usr/bin/env bash
  2. ## Setup environment
  3. # add composer's global bin directory to the path
  4. # see: https://github.com/drush-ops/drush#install---composer
  5. export THUNDER_DIST_DIR=`echo $(pwd -P)`
  6. export TEST_DIR=`echo ${THUNDER_DIST_DIR}"/../test-dir"`
  7. export PATH="$TEST_DIR/bin:$HOME/.composer/vendor/bin:$PATH"
  8. export MINK_DRIVER_ARGS_WEBDRIVER='["chrome", null, "http://localhost:4444/wd/hub"]'
  9. # base path for update tests
  10. export UPDATE_BASE_PATH=${TEST_DIR}-update-base
  11. # Set version of imagick
  12. export PHP_IMAGICK_VERSION="3.4.3"
  13. # Set version for Yaml PHP library
  14. export PHP_YAML_VERSION="2.0.4"
  15. export DEPLOYMENT_DUMP_FILE="${TEST_DIR}/dump_thunder_test_deployment.sql"