forked from APIDevTools/swagger-express-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 741 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
filter_secrets: false
language: node_js
node_js:
- 10
os:
- linux
- osx
- windows
before_script:
- npm run lint
script:
- npm run coverage
after_success:
# send code-coverage data to Coveralls
- cat ./coverage/lcov.info | coveralls
jobs:
include:
- stage: Deploy
name: Publish to npm
script: true
after_success: true
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
skip_cleanup: true
on:
tags: true
branch: master