2019-04-24 13:31:17 +02:00
|
|
|
dist: xenial
|
2019-03-07 14:56:07 +01:00
|
|
|
language: node_js
|
2019-04-29 10:21:28 +02:00
|
|
|
|
2019-04-24 13:31:17 +02:00
|
|
|
node_js:
|
|
|
|
- '11'
|
2019-03-07 14:56:07 +01:00
|
|
|
|
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-03-24 02:18:53 +01:00
|
|
|
- ./scripts/build.sh
|
2019-03-07 14:56:07 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-04-12 16:44:33 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
- client/node_modules
|
|
|
|
- server/node_modules
|
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
|