0
mirror of https://github.com/valentineus/iii-client.git synced 2025-05-11 03:31:25 +03:00
iii-client/.travis.yml

48 lines
824 B
YAML
Raw Normal View History

2017-09-28 21:20:37 +04:00
language: node_js
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
2017-09-28 21:20:37 +04:00
os:
- linux
2017-10-03 22:09:37 +04:00
- osx
2017-09-28 21:20:37 +04:00
notifications:
email:
- "info@valentineus.link"
2017-09-28 23:11:47 +04:00
before_install:
- npm install --global nyc
- npm install --global codacy-coverage
2017-09-28 21:20:37 +04:00
install:
- npm install
2017-09-28 21:20:37 +04:00
script:
- npm run check
2017-09-28 23:11:47 +04:00
- nyc npm run test
- nyc report --reporter=lcov
2017-09-28 21:20:37 +04:00
2017-09-28 23:11:47 +04:00
after_success:
- nyc report --reporter=lcov
- cat ./coverage/lcov.info | codacy-coverage
2017-09-28 21:20:37 +04:00
jobs:
include:
- stage: deploy
node_js: "8"
os: "linux"
before_deploy:
- git stash --all
- npm install
- npm run build
2017-09-28 21:20:37 +04:00
deploy:
provider: npm
skip_cleanup: true
email: "info@valentineus.link"
api_key: $NPM_PROJECT_TOKEN