Skip to content

Commit

Permalink
ci: 集成 travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mirages committed Feb 20, 2021
1 parent 3202655 commit c52294c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ addons:
chrome: stable
script:
- npx lerna bootstrap
- ls -l libs/picker/node_modules/@whee
- npx lerna run test --scope @whee/js-motion
- npx lerna run test --scope @whee/js-picker
- npx lerna run test:ci
after_success:
- bash <(curl -s https://codecov.io/bash) -v
3 changes: 2 additions & 1 deletion libs/motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"clean": "rimraf dist && rimraf es && rimraf types",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint:ts": "eslint --f codeframe {src,test}/** karma.conf.ts",
"test": "karma start --single-run --browsers ChromeHeadless",
"test": "rimraf coverage && karma start --single-run --browsers ChromeHeadless",
"test:ci": "npm test && npm run build",
"build": "npm run clean && rollup -c && tsc",
"pub": "sh scripts/release.sh"
},
Expand Down
3 changes: 2 additions & 1 deletion libs/picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint:ts": "eslint --f codeframe {src,test,plugins}/**/*.ts karma.conf.ts",
"lint:css": "stylelint src/**/*.{css,less,scss}",
"test": "karma start --single-run --browsers ChromeHeadless",
"test": "rimraf coverage && karma start --single-run --browsers ChromeHeadless",
"test:ci": "npm test && npm run build",
"build": "npm run clean && rollup -c && tsc"
},
"repository": {
Expand Down

0 comments on commit c52294c

Please sign in to comment.