Skip to content

Commit

Permalink
add travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Allenice committed Oct 10, 2020
1 parent 7680e67 commit 89d656d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js
node_js:
- 'node'

branches:
only:
- master
- dev

script: npm run test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --ignore '@yzfe/*-demo'",
"test": "lerna run test --stream",
"test": "npm run build && lerna run test --stream",
"publish": "lerna publish",
"serve:doc": "vuepress dev docs",
"build:doc": "vuepress build docs",
Expand Down

0 comments on commit 89d656d

Please sign in to comment.