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
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- lts/*
|
- lts/*
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm install --global nyc mocha typescript
|
- npm install --global nyc mocha typescript
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm run update-versions
|
- npm run update-versions
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run test:travis
|
- npm run build
|
||||||
|
- npm run test
|
||||||
- npm run tslint
|
- npm run tslint
|
||||||
after_success:
|
|
||||||
- echo TRAVIS_EVENT_TYPE = $TRAVIS_EVENT_TYPE
|
branches:
|
||||||
- test $TRAVIS_EVENT_TYPE = "cron"
|
only:
|
||||||
&& echo Begin deploy
|
- master
|
||||||
# && npm publish BotServer --registry=
|
|
||||||
&& echo End deploy
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- Version=4.2.0-preview.${TRAVIS_BUILD_NUMBER}
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
"start": "node ./dist/src/app.js",
|
"start": "node ./dist/src/app.js",
|
||||||
"startIde": "npm-run-all clean --parallel watch:build watch:server --print-label",
|
"startIde": "npm-run-all clean --parallel watch:build watch:server --print-label",
|
||||||
"watch:build": "tsc --watch",
|
"watch:build": "tsc --watch",
|
||||||
|
"build": "tsc",
|
||||||
"watch:server": "nodemon './dist/index.js' --watch './dist'",
|
"watch:server": "nodemon './dist/index.js' --watch './dist'",
|
||||||
"build-docs": "typedoc --options typedoc.json src/",
|
"build-docs": "typedoc --options typedoc.json src/",
|
||||||
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose",
|
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose",
|
||||||
|
|
Loading…
Add table
Reference in a new issue