2019-04-24 13:31:17 +02:00
|
|
|
dist: xenial
|
2019-03-07 14:56:07 +01:00
|
|
|
language: node_js
|
2019-04-24 13:31:17 +02:00
|
|
|
node_js:
|
|
|
|
- '11'
|
2019-03-07 14:56:07 +01:00
|
|
|
|
2019-04-30 12:21:43 +02:00
|
|
|
before_install:
|
|
|
|
- npm install -g npm
|
|
|
|
- npm install -g codacy-coverage
|
|
|
|
|
2019-03-24 02:10:00 +01:00
|
|
|
script:
|
2019-04-01 12:20:42 +02:00
|
|
|
# - ./scripts/install.sh # runs automatically with npm ci
|
2019-03-24 02:10:00 +01:00
|
|
|
- ./scripts/test.sh
|
2019-04-30 12:21:43 +02:00
|
|
|
- ./scripts/coverage.sh
|
2019-03-24 02:18:53 +01:00
|
|
|
- ./scripts/build.sh
|
2019-03-07 14:56:07 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-06-05 15:32:19 +02:00
|
|
|
cache: npm
|
2019-04-08 16:41:59 +02:00
|
|
|
|
|
|
|
deploy:
|
2019-04-09 11:07:45 +02:00
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: bash -ex ./scripts/deploy_on_k8s.sh
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
all_branches: true
|