-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
69 lines (65 loc) · 1.84 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: node_js
version: 1.0
node_js:
- "8"
- "9"
- "10"
- "node"
- "lts/*"
deploy:
# This Travis CI deploy configuration will automatically
# deploy builds triggered by tags denoting only stable
# versions to npm tagged as "latest".
#
# npmjs.com/package/helloworks-sdk
- provider: npm
edge: true
skip_cleanup: true
email: $NPM_EMAIL_ADDRESS
api_key: $NPM_API_KEY
tag: latest
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
# This Travis CI deploy configuration will automatically
# deploy builds triggered by tags denoting only alpha or
# beta versions to npm tagged as "next".
#
# npmjs.com/package/helloworks-sdk
- provider: npm
edge: true
skip_cleanup: true
email: $NPM_EMAIL_ADDRESS
api_key: $NPM_API_KEY
tag: next
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta)\.[0-9]+$
# This Travis CI deploy configuration will automatically
# deploy builds triggered by tags denoting only stable
# versions to GitHub releases.
#
# github.com/hellosign/helloworks-nodejs-sdk/releases
- provider: releases
skip_cleanup: true
api_key: $GITHUB_OAUTH_TOKEN
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
# This Travis CI deploy configuration will automatically
# deploy builds triggered by tags denoting only alpha or
# beta versions to GitHub releases and tagged as
# "prerelease".
#
# github.com/hellosign/helloworks-nodejs-sdk/releases
- provider: releases
skip_cleanup: true
api_key: $GITHUB_OAUTH_TOKEN
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT
prerelease: true
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta)\.[0-9]+$