Fixing CI configuration.
This commit is contained in:
parent
cab4f2b62f
commit
bc46284de5
2 changed files with 14 additions and 11 deletions
24
.travis.yaml
24
.travis.yaml
|
@ -1,22 +1,24 @@
|
|||
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- lts/*
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
before_install:
|
||||
- npm install --global nyc mocha typescript
|
||||
|
||||
install:
|
||||
- npm run update-versions
|
||||
|
||||
script:
|
||||
- npm run test:travis
|
||||
- npm run build
|
||||
- npm run test
|
||||
- npm run tslint
|
||||
after_success:
|
||||
- echo TRAVIS_EVENT_TYPE = $TRAVIS_EVENT_TYPE
|
||||
- test $TRAVIS_EVENT_TYPE = "cron"
|
||||
&& echo Begin deploy
|
||||
# && npm publish BotServer --registry=
|
||||
&& echo End deploy
|
||||
|
||||
env:
|
||||
global:
|
||||
- Version=4.2.0-preview.${TRAVIS_BUILD_NUMBER}
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"start": "node ./dist/src/app.js",
|
||||
"startIde": "npm-run-all clean --parallel watch:build watch:server --print-label",
|
||||
"watch:build": "tsc --watch",
|
||||
"build": "tsc",
|
||||
"watch:server": "nodemon './dist/index.js' --watch './dist'",
|
||||
"build-docs": "typedoc --options typedoc.json src/",
|
||||
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose",
|
||||
|
|
Loading…
Add table
Reference in a new issue