2019-02-15 13:19:00 +01:00
|
|
|
dist: xenial
|
2018-10-23 23:31:03 +02:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services: docker
|
|
|
|
|
2019-02-15 13:55:08 +01:00
|
|
|
language: java
|
|
|
|
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
|
|
|
env:
|
|
|
|
- NODE_VERSION=10.15.1
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-11-03 10:06:48 +01:00
|
|
|
- wip
|
|
|
|
- develop
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- env | sort
|
2019-02-15 13:55:08 +01:00
|
|
|
- nvm install $NODE_VERSION
|
|
|
|
- npm install
|
|
|
|
- nvm use $NODE_VERSION
|
|
|
|
- npm test
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
script:
|
2018-11-25 14:06:04 +01:00
|
|
|
- ./manage.sh build
|
2019-02-15 01:49:06 +01:00
|
|
|
- ./manage.sh release-local
|
|
|
|
- ./manage.sh release-docker
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
- docker ps
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
env: # Environments
|
|
|
|
- VERSION=beta
|