atst/script/cibuild
2018-07-03 11:01:55 -04:00

17 lines
385 B
Bash
Executable File

#!/bin/bash
# script/cibuild: Run CI related checks and tests
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Run lint/style checks and unit tests
script/test
# Run static code analysis security checks
# (excluding the tests and node_modules subdirs)
bandit -r . -x node_modules,tests