Files
pgadmin4/ci/run_jasmine_tests.sh
T

10 lines
389 B
Bash
Raw Normal View History

2017-03-30 16:34:24 -04:00
#!/bin/sh
echo "EXECUTING: Jasmine tests"
2017-03-30 16:34:24 -04:00
echo
cd $WORKSPACE/web/
/usr/bin/yarn install || { echo 'ERROR: Failed to install the required Javascript modules.' ; exit 1; }
/usr/bin/yarn run linter || { echo 'ERROR: Failed to lint the Javascript code.' ; exit 1; }
./node_modules/.bin/karma start --single-run || { echo 'ERROR: Error detected when running the Jasmine tests.' ; exit 1; }