Skip to content

Commit 6109742

Browse files
chore(travis): use grunt CLI in travis
1 parent b48c3fe commit 6109742

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
before_script:
66
- export DISPLAY=:99.0
77
- 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
99

1010
script: grunt

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ There is a common folder for libraries called lib.
1616

1717
There is a basic grunt file that can run all the unit tests.
1818

19-
You need to install the grunt command line globally:
19+
You need to install the grunt CLI and testacular globally:
2020

2121
```
22-
npm -g install grunt-cli
22+
npm -g install grunt-cli testacular
2323
```
2424

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):
2626

2727
```
2828
npm install grunt
2929
```
3030

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.
3232

3333
```
34-
grunt.cmd test
34+
grunt.cmd
3535
```

0 commit comments

Comments
 (0)