.travis.yml
language: node_js
node_js:
- "10"
branches:
only:
- master
addons:
sonarcloud:
organization: "jo3-w3b-d3v"
token:
secure: "1072ee0d01a9c38e8ebe63de16a01abca0be1543" # encrypted value of your token
before_install:
- npm install -g npm@latest
- npm install
script:
- npm run coverage
- sonar-scanner