Skip to content

Commit

Permalink
Added CI/Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Serrat authored and Marc Serrat committed Aug 3, 2020
1 parent e211f21 commit 7e07557
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: node_js
node_js:
- 12
script:
- npm run test && npm run build
- sonar-scanner
addons:
sonarcloud:
organization: cloudbluesonarcube
token:
secure: wTad2c6T/46x0iZ3wP9NG+hnr7XKDyo/8iAetsxcoXVJshRMpQ+Y36d6RBgInyBgryRB4TrFe17aaIM7xTmCSiX3L9QrwXeVy7794kouuQ+qYx6pjW85VC+H5cSeyab2+ywPYqR22VnsO26PMiiPovAr3M2Jzx648eexDCrSObq+pEPTu8bfIz6RBl/ET6cySAAfjvo4+ayGM2VvIxVpHR/KeICglL3lxUL7Jo0AYwwI+5+i1eIAwNtG+kMsUSh5nMrvrl6icAbQH7ebVBpLO34AgMrhnpYwQCHy+/yfyWHZskKdst7j3u2wvjQhqOspn6fhcIXWoX5Rx8iKD5m+fdTHcuTVVHWJHbThCK4HDUHNu1smTo/CdAJUB3pQn53asc1+7ZfLWQ7Tt+wQ/DglRQCt11uu2J8HpFRkLJHfibGpJejceYYPRLnq0TpiYFl4qk7zx3lJIr0ePBsayjFwB9GRLV3cWtKbEZRl3K/90YCah/brsUc9Hy8G89cIq93MvH5QyEZDJY3qfcXgvLtRNvEMUIWz1erlm6DqHAkZsjFkojob9sRwVdG/+szIe3a2zpU/6sVmU9wmRW1j8i3pO4bfX4aHc/q7Pcm3UlxVOQYPacK1NzniXTLvdiVl83IFYQPCgDti+wiQHOFN5PFwg68tnjV+F0mLrJbRpSgY4cQ=
deploy:
provider: npm
email: [email protected]
api_key:
secure: RH516PUoT/NjljcbTxSgcCaEAqNXJ68D/fcgj8OHRgau/XzZ/P++Vxy9Ii955+9f1xA2OgZnqIhZSDZtP3oIj4VLeTPgGnlfE7ZQ/MdPnTxL63wcK/KtsI4FNjz6/H5fXw27eV831FYjtvfhgI0p/Z2TFHVt/Z4tKUh+g3XQpPY4CWwRDj98g4+J23K6ntqrv/OogLkEL/tpK8mMWFWJRWxYrHtaLXt6ArEwvQKvfHec0k/L6ec6/JQulUqymVRZhEHGlGLCPSIquH0FyVOao2dAdqf39Rtn7lD6bkiaeaMhmcejoI7wblt5I1j8Ni32WCWb4h/DgwNyYysPzJb+oQApHW75a/P7u5SipWejhZuqdB4mr5Boa531XcZGLMU8T4tJ4DlqpgDnEVuAWm6r2wMFT7iAkxhZcN1ZTEI0TEEsOGIcnwqaplFc2ZiZFMbzc/QW1GpYQBHzRq5tmQtf69lE3gaU3dwZXQsEoMpoTE1+tlDODXX7JWlMl1nsJM/3ba4OvTss20wCoouf5TJNB6UIG+ugfWyJygKnsMuBVNHkY82wyUfVg3sNQxROSYwgZBMCns4VkdNdSWYhHQZ9xKBEHi9mvwwKjGG20UOIttuYrv4TlLyiiX/gujMJc0a19FdJiAwrPv2DzuxMR3/KvFkMqHmZgSaa/wlUk9QRfjY=
on:
repo: cloudblue/connect-javascript-sdk
branch: master
12 changes: 12 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sonar.projectKey=javascript-rql
sonar.organization=cloudbluesonarcube

# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=Connect Javascript RQL
#sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

0 comments on commit 7e07557

Please sign in to comment.