File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
before_script :
6
6
- export DISPLAY=:99.0
7
7
- sh -e /etc/init.d/xvfb start
8
- - npm install --quiet -g grunt@0.3.x testacular@0.4.x
8
+ - npm install --quiet -g grunt-cli testacular
9
9
10
10
script : grunt
Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ There is a common folder for libraries called lib.
16
16
17
17
There is a basic grunt file that can run all the unit tests.
18
18
19
- You need to install the grunt command line globally:
19
+ You need to install the grunt CLI and testacular globally:
20
20
21
21
```
22
- npm -g install grunt-cli
22
+ npm -g install grunt-cli testacular
23
23
```
24
24
25
- and grunt itself locally (using the values in the package.json):
25
+ You also need the grunt library locally (using the values in the package.json):
26
26
27
27
```
28
28
npm install grunt
29
29
```
30
30
31
- Run the test task on grunt to execute all the samples' tests.
31
+ Run grunt to check for jslint errors, generate HTML2JS templates and execute all the samples' tests.
32
32
33
33
```
34
- grunt.cmd test
34
+ grunt.cmd
35
35
```
You can’t perform that action at this time.
0 commit comments