botserver/.travis.yaml

22 lines
453 B
YAML
Raw Normal View History

2018-11-11 10:50:58 -02:00
language: node_js
node_js:
- lts/*
notifications:
email: false
before_install:
- npm install --global nyc mocha typescript
2018-11-11 10:50:58 -02:00
install:
- npm run update-versions
script:
- npm run test:travis
- 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}