File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
6
6
7
- mkdir -p $LOGS_DIR
7
+ mkdir -p " $LOGS_DIR "
8
8
9
- if [ $JOB != " ci-checks" ]; then
9
+ if [ " $JOB " != " ci-checks" ]; then
10
10
echo " start_browser_provider"
11
11
./scripts/travis/start_browser_provider.sh
12
12
fi
13
13
14
- if [ $JOB != " ci-checks" ]; then
14
+ # ci-checks and unit tests do not run against the packaged code
15
+ if [ " $JOB " != " ci-checks" ] && [ " $JOB " != " unit" ]; then
15
16
grunt package
17
+ fi
18
+
19
+ # unit runs the docs tests too which need a built version of the code
20
+ if [ " $JOB " = " unit" ]; then
21
+ grunt build
22
+ fi
23
+
24
+ # check this after the package, because at this point the browser_provider
25
+ # has probably arrived
26
+ if [ " $JOB " != " ci-checks" ]; then
16
27
echo " wait_for_browser_provider"
17
28
./scripts/travis/wait_for_browser_provider.sh
18
- fi
29
+ fi
You can’t perform that action at this time.
0 commit comments