Skip to content

Commit

Permalink
feat: 优化travis
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Sep 24, 2022
1 parent 6787d70 commit 0896c84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ before_script:
- npm install
script:
- npm run test
- npm run docs:gen
after_success:
- cd $TRAVIS_BUILD_DIR
- chmod +x generateDocs.sh
Expand Down
2 changes: 1 addition & 1 deletion generateDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ echo "" > .nojekyll
################################################################################
##### Generate JSDOC documents. #####
echo 'Copying generated JSDoc code documentation...'
# cp -R ../fixtures-doc/* ./ ;
cp -R ../docs/* ./ ;

echo "" > index.html

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"scripts": {
"build": "gulp build",
"api": "api-extractor run",
"docs:gen": "jsdoc -c jsdoc.json",
"test": "jest --coverage --verbose -u",
"lint": "eslint --ext .js,.ts --format=pretty ./src",
"lint:fix": "eslint --fix --ext .js,.ts --format=pretty ./src",
Expand Down

0 comments on commit 0896c84

Please sign in to comment.