Skip to content

Commit

Permalink
ci: fix test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Oct 22, 2020
1 parent 2d4e520 commit f4419ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ jobs:
- node_js: 10
name: Test on Node.js 10
script: npm run test:mocha
- node_js: 12
name: Check code style
script: npm run test:lint
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"scripts": {
"prepare": "npm run build",
"build": "ROLLUP=1 rollup -c",
"lint": "eslint --cache .",
"test": "npm run lint && TESTS=1 mocha --require @babel/register",
"test:lint": "eslint --cache .",
"test:mocha": "TESTS=1 mocha --require @babel/register",
"test": "npm run lint && npm run test:mocha",
"docs": "prop-types-table src/index.js | md-insert README.md --header Props -i",
"example": "npm install && cd example && npm install"
},
Expand Down

0 comments on commit f4419ba

Please sign in to comment.