-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 966 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
41
42
43
44
45
46
# Specify to use node
language: node_js
# Specify the node versions to run on
node_js:
- "stable"
# Set up environment variables for tests
env:
global:
# Make sure to have typings before the test
before_script:
# - npm run typings
# Report code coverage to coveralls after successful test runs
after_success:
- npm run coverage
- npm run report-coverage
# Make sure to bundle the application before any deploys
before_deploy:
- npm i -g typescript rimraf
# Deploy
deploy:
- provider: npm
email: stephane@dfordev.com
api_key: $NPM_TOKEN
on:
branch: "master"
tag: latest
- provider: npm
email: stephane@dfordev.com
api_key: $NPM_TOKEN
on:
branch: "develop"
tag: snapshot
# - provider: npm
# email: stephane@dfordev.com
# api_key: $NPM_TOKEN
# on:
# all_branches: true
# branch: "develop"
# Do not send build notifications
notifications:
email: true