You are here

script.sh in Acquia Search 2.x

#!/usr/bin/env bash

# NAME
#     script.sh - Run tests
#
# SYNOPSIS
#     script.sh
#
# DESCRIPTION
#     Runs static code analysis and automated tests.

cd "$(dirname "$0")"; source _includes.sh

cd ${TRAVIS_BUILD_DIR}

if [ "$CUSTOM_TEST" == "css" ]; then
  csslint --config=vendor/drupal/core/assets/scaffold/files/csslintrc .
fi

File

bin/travis/script.sh
View source
  1. #!/usr/bin/env bash
  2. # NAME
  3. # script.sh - Run tests
  4. #
  5. # SYNOPSIS
  6. # script.sh
  7. #
  8. # DESCRIPTION
  9. # Runs static code analysis and automated tests.
  10. cd "$(dirname "$0")"; source _includes.sh
  11. cd ${TRAVIS_BUILD_DIR}
  12. if [ "$CUSTOM_TEST" == "css" ]; then
  13. csslint --config=vendor/drupal/core/assets/scaffold/files/csslintrc .
  14. fi