Skip to content

Commit 531ab2f

Browse files
author
Alexandre-io
committed
chore(travis): install grunt before tests
1 parent 3be19aa commit 531ab2f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ node_js:
55
- '3'
66
- '2'
77
- '0.12'
8-
sudo: false
9-
script: npm install . && grunt test
8+
before_script:
9+
- npm install grunt-cli -g
10+
script: npm install . && npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Introductions for websites to guide step-by-step your users.",
55
"main": ["src/introduction.js", "introduction.angular.js"],
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "grunt test"
88
},
99
"repository": {
1010
"type": "git",

0 commit comments

Comments
 (0)