forked from adshares/adpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (25 loc) · 1.33 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
dist: bionic
language: node_js
node_js:
- "14"
env:
global:
- ADSERVER_URL="https://example.com"
- DEV_XDEBUG="false"
- APP_VERSION="travis"
- CONTEXT_INFO="travis"
- NODE_OPTIONS="--max_old_space_size=4096"
jobs:
include:
- install: true
script: sonar-scanner
- env: APP_ENV=prod APP_PROD=true APP_NAME=Adpanel APP_CURRENCY_CODE=USD APP_CURRENCY_SYMBOL=\$
before_script:
- envsubst < src/environments/environment.ts.template > src/environments/environment.${APP_ENV}.ts
script:
- yarn build --configuration=${APP_ENV}
addons:
sonarcloud:
organization: "adshares-github"
token:
secure: "IiwRVLQxOMtdNsqzLGUknbdgIaaRd0mVBjj6D8ra1jsYJ9T8BgjW3eGJBCAwXmG5XGBQayUi8uPgWUadIm73nlcUbnZ3R7ylRpu7s2j4tRJ2jg0PT5yMMTgAxY0UBT7A0/YxfCjLMa1oq8qq3PLbynqgF/OyOeZZqQA2Csps8VHWR7bV76CRTZEQ8VK/K15kUlfzKUitQfPenSvq7ktkpm4VKpUSmzADrTZ8RL+oEHq8cyYfAFZLwfhjg1LrLztFAFcoGPpnU6bxSaatOQxFny+QBhRTFESYoHUVJ89lFHcK3+8JiB7LoqqIMP/aT57J9SEC3lw9BKsoc1dSCwhcqwLrMgb7zZn8P92KM3qylaqhqF4z6q94s/u9gzWSCufxg7yUvQPQKHSyeWX0dX545aZnMadA28L+0aBcBZXO35aPs++jw1QLTIRh68VigK96X3VrpWrvCg8792bGXXipis/cZjHol86tOfk/cvZbgipZqt/AeZ5roF1sxJZ8z+uzFuxIRYdnBoqyDWOaf55ajYkbTJCo4eB/6F/mpNyBfXMhIgEi1k2JLQ6OxtT0p9zNT3COf/C6mllvC1DiFvPOsYL6td5Opb4FScVdYZjnOj10bBhkkpICO5sL1KCSydOb9tOq3qEAfXH56xBbo1DXrl2cZAnZ0PqNHHienH6ZBzk="