This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed initial configs, added job config
- Loading branch information
1 parent
4bcdb54
commit 785db22
Showing
6 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
language: node_js | ||
node_js: | ||
- '12' | ||
dist: trusty | ||
branches: | ||
only: | ||
- master | ||
cache: | ||
directories: | ||
- node_modules | ||
addons: | ||
chrome: stable | ||
sonarcloud: | ||
organization: speech4j | ||
before_script: | ||
- npm install | ||
script: | ||
- npm run test-headless | ||
- sonar-scanner -Dsonar.verbose=true -X | ||
- npm run build | ||
deploy: | ||
provider: heroku | ||
skip_cleanup: true | ||
keep-history: true | ||
app: speech4jweb | ||
api_key: | ||
secure: fZLBDGUUwJS6setqj4DDwHCwfr7ybdkSTu7rhEGXLawOFYpUvLkOP/McYBITMh9bOFe59HLsF5mfKb3v7B+xP8qjsTWzdVOB7jWztoEznZgXupcGhAX2DFO0y1SBYOvsg+Tq7623rIYQoqcX6bsATD0drlv1qhS4tjblxLzTZm8L0c4SA1w5JeSzSHL8yS83O9iXeJQKBsqaOA7qNEqmDpU4YGGenAK0FBGWNFnW5uvFFJKg9B/c8F73mXw/u2pMeYU2w8Gop5SIn9I211WA23El5I4LR7rYEvd/8tuW50InpDlL2BVS32hjrZa+xQPIIKFgtR3YssLc23kc/98K0Z9QM52LPlzoZTpGBtDgSK3hYU9ZtVRSRqL2V8m5tYnZehOSkwOfvveirQk1r/DRxk7c7F5KkIQ6GpYqbUbSJT+oCn/UsIirqI1GxFF18H88AsXr2BCgejpPDHKDu291AItLGls6SJQKQsRZCCp2JgIHUqZL60XWNo0kYteNtQyeynq8UhoCBueZFxh+sbT/56EMPXBO/7/U8nvoZ/xRO+VYgmGArpz3opjAusIa6YlXns0PgaCilJHnX64VE2ykioiYBtAfOTWG0bsTViiqcH40M3h1kjRpzQDyPCcN+btNx6qHTUyhmANQHLVpinLaIrJtCBCHZ7KNJsborIlNgUo= | ||
|
||
after_deploy: | ||
- echo "Application Deployed!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const express = require('express'); | ||
const path = require('path'); | ||
const app = express(); | ||
|
||
// Serve static files.... | ||
app.use(express.static(__dirname + '/dist/web')); | ||
|
||
// Send all requests to index.html | ||
app.get('/*', function(req, res) { | ||
res.sendFile(path.join(__dirname + '/dist/web/index.html')); | ||
}); | ||
|
||
// default Heroku PORT 3000 | ||
app.listen(process.env.PORT || 3000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
sonar.projectKey=speech4j_speech-to-text-comparator-ui | ||
sonar.organization=speech4j | ||
sonar.projectName=speech-to-text-comparator-ui | ||
sonar.projectVersion=1.0 | ||
sonar.sources=src | ||
sonar.sourceEncoding=UTF-8 | ||
sonar.exclusions=**/node_modules/**,**/*.spec.ts | ||
sonar.tests=src/app | ||
sonar.test.inclusions=**/*.spec.ts | ||
sonar.ts.tslint.configPath=tslint.json | ||
sonar.typescript.lcov.reportPaths=coverage/web/lcov.info |