Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
dist
*.log
coverage
.idea/
15 changes: 4 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,8 @@ language: node_js
node_js:
- "11"

services:
- docker
install:
- yarn
script:
- yarn test

before_install:
- docker build -t test . && docker run test

# language: node_js
# node_js:
# - "8"
# - "9"
# script:
# - npm test
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env groovy
// Repository can be found at https://github.com/dennisinteractive/lightning-jenkins-build-scripts
// Required Library call
@Library('lightning-shared-libraries@master') _

// CAll node unit test
nodeUnitTest()
11 changes: 11 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sonar.projectKey=seatbookingexercise
sonar.projectName=seatbookingexercise
sonar.links.homepage=https://github.com/simon-peacock/seatbookingexercise

sonar.sources=src
sonar.exclusions=**node_modules**
sonar.host.url=http://ec2-34-255-179-73.eu-west-1.compute.amazonaws.com:9000
sonar.verbose=false
sonar.sourceEncoding=UTF-8
sonar.dependencyCheck.reportPath=dependency-check-report.xml
sonar.dependencyCheck.htmlReportPath=dependency-check-report.html