@@ -6,19 +6,19 @@ export BROWSER_STACK_ACCESS_KEY=`echo $BROWSER_STACK_ACCESS_KEY | rev`
6
6
export SAUCE_ACCESS_KEY=` echo $SAUCE_ACCESS_KEY | rev`
7
7
8
8
if [ " $JOB " == " ci-checks" ]; then
9
- node_modules/.bin/ grunt ci-checks
9
+ grunt ci-checks
10
10
elif [ " $JOB " == " unit" ]; then
11
11
if [ " $BROWSER_PROVIDER " == " browserstack" ]; then
12
12
BROWSERS=" BS_Chrome,BS_Safari,BS_Firefox,BS_IE_9,BS_IE_10,BS_IE_11,BS_iOS"
13
13
else
14
14
BROWSERS=" SL_Chrome,SL_Firefox,SL_Safari_8,SL_Safari_9,SL_IE_9,SL_IE_10,SL_IE_11,SL_iOS"
15
15
fi
16
16
17
- node_modules/.bin/ grunt test:promises-aplus
18
- node_modules/.bin/ grunt test:unit --browsers=" $BROWSERS " --reporters=dots
19
- node_modules/.bin/ grunt tests:docs --browsers=" $BROWSERS " --reporters=dots
17
+ grunt test:promises-aplus
18
+ grunt test:unit --browsers=" $BROWSERS " --reporters=dots
19
+ grunt tests:docs --browsers=" $BROWSERS " --reporters=dots
20
20
elif [ " $JOB " == " docs-e2e" ]; then
21
- node_modules/.bin/ grunt test:travis-protractor --specs=" docs/app/e2e/**/*.scenario.js"
21
+ grunt test:travis-protractor --specs=" docs/app/e2e/**/*.scenario.js"
22
22
elif [ " $JOB " == " e2e" ]; then
23
23
if [[ $TEST_TARGET == jquery* ]]; then
24
24
export USE_JQUERY=1
@@ -30,7 +30,7 @@ elif [ "$JOB" == "e2e" ]; then
30
30
fi
31
31
32
32
export TARGET_SPECS=" test/e2e/tests/**/*.js,$TARGET_SPECS "
33
- node_modules/.bin/ grunt test:travis-protractor --specs=" $TARGET_SPECS "
33
+ grunt test:travis-protractor --specs=" $TARGET_SPECS "
34
34
else
35
35
echo " Unknown job type. Please set JOB=ci-checks, JOB=unit or JOB=e2e-*."
36
36
fi
0 commit comments