-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (26 loc) · 1.12 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
os: linux
dist: xenial
language: node_js
node_js:
- lts/dubnium
cache: npm
addons:
sonarcloud:
organization: "nut-tree"
token:
secure: "k/5pLnLpd9eF56LB8Qag+BYmcbv7lGW8393LWy2Oyu8ne6CAWz2LybEcSjKDoEPHd1nwYH7XOSfOOJ//+3O3oAKNcDCDXi4wk7QPDrROCZFIysuyx6kmTIavQQ+9atqKAj16GA4Mp2IHfwWAS+U5R6lUZejU6Lzm3BdN8JOzf29YapqdUm6MP79w2mbAaA8hSAglc0pOSuWEcytJJ+0b7JOSMhYhwGJFnh+tuJX4b41B9al1Sdk/OV0oQJERJZ6NCBUE0V2+620rU0QzngJrioWixq+moT7hJmdidz8n0YK9OGdMnJ7LePaQJcBVJQbCWt6bIIpKMBl46rJAVFenE9mO7fi6A0BHQpS5r7UqqV0y8kOl8FxxgvVsrozD2LrEMn/+16FwzjkKAfCx9iH2b6FAEMvn9UAZSyTukhsVFeRZw1vbvfLhiRGM5hUOIcX2GrARPTPparWg59vKmgSNB3NOLxSEKf3ApoNcYfiqwX4QQolULMc/VMxNQL1iBlB+/xodkrRqQIb0B5Bn29MVVYhQOTayjGlFB3iiUGFHFwQORZjs0kzi348T9EIEK82/2IphJiFVAsI6f3i5GrB56fPQC54Ty5YU5vmino7/jkrEDWSFaHWJU7sA49eQXHQA+rqKrC7XneKCXnPXwJWScjxLMB4WP0kGO05D6JFumuQ="
install:
- npm ci
script:
- npm run compile
- npm run coverage
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
- provider: script
skip_cleanup: true
script: npm publish
on:
tags: true
after_success:
- sonar-scanner