Skip to content

Commit

Permalink
chore: enable travis
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Mar 13, 2018
1 parent 3cc0589 commit c15000c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js

node_js:
- "7"
- "8"

after_success:
- npm run coveralls
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"scripts": {
"build": "node scripts/build.js",
"changelog": "lerna-changelog",
"test": "./packages/umi-test/bin/umi-test.js",
"test": "./packages/umi-test/bin/umi-test.js --coverage",
"debug": "./packages/umi-test/bin/umi-test.js",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint --ext .js packages",
"precommit": "lint-staged",
"publish": "./scripts/publish.js"
Expand All @@ -23,6 +25,7 @@
"@babel/runtime": "^7.0.0-beta.32",
"babel-eslint": "^8.0.2",
"chokidar": "^2.0.2",
"coveralls": "^3.0.0",
"eslint": "^4.10.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
Expand Down

0 comments on commit c15000c

Please sign in to comment.