1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Fix travis testing (include eslint)

This commit is contained in:
Denis Demchenko 2018-09-09 12:58:44 +03:00
parent 5ef075160b
commit 8af2e682a2
3 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,8 @@
parser: babel-eslint
extends: airbnb-base extends: airbnb-base
rules: rules:
no-underscore-dangle: 0 no-underscore-dangle: 0
no-void: 0 no-void: 0
plugins: plugins:
- ava - ava
- import

View File

@ -2,3 +2,6 @@ language: node_js
after_success: npm run coverage after_success: npm run coverage
node_js: node_js:
- "8.4.0" - "8.4.0"
script:
- npm run lint
- npm test

View File

@ -64,7 +64,7 @@
"scripts": { "scripts": {
"build": "webpack --config webpack.config.js", "build": "webpack --config webpack.config.js",
"prepublish": "npm run build", "prepublish": "npm run build",
"lint": "eslint ./src --fix", "lint": "eslint ./src",
"testem": "testem", "testem": "testem",
"test": "eslint ./src & nyc --reporter=html --reporter=text ava", "test": "eslint ./src & nyc --reporter=html --reporter=text ava",
"coverage": "nyc report --reporter=text-lcov | coveralls", "coverage": "nyc report --reporter=text-lcov | coveralls",