Skip to content

Commit 0d9f01d

Browse files
committed
check phantomjs version
1 parent fd096d3 commit 0d9f01d

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_js:
55
- "8"
66
before_install:
77
- npm i -g npm@latest
8+
- npm run foo
89
before_script:
910
- echo now before script
1011
after_script:

karma.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ module.exports = function (config) {
1919
// possible values: 'dots', 'progress'
2020
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
2121
reporters: ['progress'],
22+
webpackMiddleware: {
23+
noInfo: true
24+
},
2225
port: 9876,
2326
colors: true,
2427
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"karma": "npm run build && karma start",
1111
"push": "git add ./ && git commit && git pull && git push",
1212
"deploy": "npm run build && npm run push && npm publish",
13+
"foo": "phantomjs --version",
1314
"build/webpack": "cross-env NODE_ENV=prod webpack --env.foo=bar --profile --progress --config ./build/webpack.config.js"
1415
},
1516
"repository": {

0 commit comments

Comments
 (0)