Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / karma-jasmine / integration-tests.sh
1 #!/bin/bash
2
3 PKG_FILE="$PWD/$(npm pack)"
4 CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
5
6 git clone https://github.com/karma-runner/integration-tests.git --depth 1
7
8 cd integration-tests
9
10 if [ "$CURRENT_BRANCH" = "jasmine-1_0" ]; then
11   ./run.sh -g "jasmine$" $PKG_FILE
12 else
13   ./run.sh -g "jasmine_2" $PKG_FILE
14 fi