-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
50 lines (50 loc) · 1.59 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
addons:
sonarcloud:
organization: "$SONAR_ORGANIZATION"
token:
secure: "$SONAR_TOKEN"
github_token:
secure: "$GITHUB_ACCESS_TOKEN"
branches:
- master
- "/[build|chore|ci|docs|feat|fix|perf|refactor|revert|spike|style|test]\\/.*/"
jdk:
- oraclejdk8
language: node_js
node_js:
- 10
- 9
- 8
- 7
os:
- linux
- osx
notifications:
webhooks: https://app.fossa.io/hooks/travisci
slack:
secure: 6ZTfA/2SW9QWm5RC6hoiMtpqJLIyBPJtPLNOZLABjKu0APxWO4PHY0sPaUq8wd6d+AWWeCP76uqU6U/KwyDucvg05JVosWPXsuOG0kk1S2gh5t6ull1QJvOcUqWvcS83NreKYDghAbp91dmuXw5M/H2h5j9ZEjB5NVyeaw+R7T+W3GvWs4pQRxHipHgv9pY9XYzHdimY4xxJHBGSyRO/LytbJ0o4LO/vKaXpRxmiciz9FGeC4nageN1PXnfWcRQ+3qvd62DSgT/WBzLGP71p3soL5kf1Cr/kVeGsOA7OF9RgPTzcFFhA/5C+wbXTCL++Wo9XkxzPqe89NYl+BhwGPvhFY0VbYjCyORpqRmlXdz4R3Dmx6OE2CVThzohkCEQSOl+qJkzo9U/glZYrcfQgJEQ9rPPxdMxNdBwh8tG6Xf15P9J819OGSBUPTzZcmPtWWhzSK/vx9Qqd/MStdvLfPdudyOux9qqjGdpqC5NpC6a/37HxuESot8PXf5Sf4MOgAVIPzdUep63N44PAaX1UGLA/OJyNtT/ltX/mcPPUsTD8WN0HO5HwkDYX3bYWikmSJ5+2/0Dz7FSHIATv5pS9+KYzGOZlNk4qhCDaf9yMKm895YmZhc9Nyg/mw5fDi5K6a3AOgctJc2QYejkXM3xg90xEANB4vF2ml/rfno92SYM=
git:
depth: 1
before_install:
- "[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest"
install:
- npm i
- npm i --save-dev coveralls
before_script:
- npm dedupe
script:
- npm run test:config
- npm test
after_script:
- npm run posttest:ci:coverage:codacy
- npm run posttest:ci:coverage:coveralls
- npm run code-quality:sonar
jobs:
include:
- stage: release
node_js: lts/*
deploy:
provider: script
skip_cleanup: true
script:
- npx travis-deploy-once "npx semantic-release"