Skip to content

Commit e6f84af

Browse files
committedDec 29, 2015
fix typo in package.json and switch to local mocha-phantomjs for CI
1 parent c593425 commit e6f84af

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
before_script:
2-
- "npm install -g mocha-phantomjs"
2+
- "npm install mocha-phantomjs"
33
script: mocha-phantomjs tests/index.html
44
branches:
55
except:

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ clean:
157157
rm -f turbo.min.css
158158

159159
test:
160-
mocha-phantomjs tests/index.html
160+
./node_modules/mocha-phantomjs/bin/mocha-phantomjs tests/index.html
161161

162162
translations:
163163
node locales/update_locales

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"devDependencies": {
88
"csso": "^1.3.11",
99
"pegjs": "^0.8.0",
10-
"uglify-js": "^2.4.24"
11-
"request": "^2.67.0"
10+
"uglify-js": "^2.4.24",
11+
"request": "^2.67.0",
12+
"mocha-phantomjs": "^4.0.2"
1213
}
1314
}

0 commit comments

Comments
 (0)
Please sign in to comment.