2019-02-15 13:19:00 +01:00
|
|
|
dist: xenial
|
2019-02-15 13:55:08 +01:00
|
|
|
|
2019-02-15 17:19:22 +01:00
|
|
|
language: clojure
|
|
|
|
sudo: required
|
|
|
|
lein: lein
|
2019-02-15 13:55:08 +01:00
|
|
|
jdk:
|
2019-02-15 17:27:46 +01:00
|
|
|
- openjdk8
|
2019-02-15 17:19:22 +01:00
|
|
|
services:
|
|
|
|
- docker
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-11-03 10:06:48 +01:00
|
|
|
- wip
|
|
|
|
- develop
|
2019-06-10 23:51:43 +02:00
|
|
|
- build-refactor
|
2018-10-23 23:31:03 +02:00
|
|
|
|
2019-02-15 17:42:58 +01:00
|
|
|
install:
|
2019-02-15 20:27:52 +01:00
|
|
|
- ./manage.sh help
|
2019-02-15 20:46:51 +01:00
|
|
|
- nvm install $NODE_VERSION
|
|
|
|
- node --version
|
2019-02-15 17:42:58 +01:00
|
|
|
|
2018-10-23 23:31:03 +02:00
|
|
|
before_script:
|
|
|
|
- env | sort
|
|
|
|
|
|
|
|
script:
|
2019-02-15 20:27:52 +01:00
|
|
|
- ./manage.sh $COMMAND
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
- docker ps
|
2019-06-12 16:32:06 +02:00
|
|
|
- if [ "$COMMAND" = "run-release" ]; then sleep 180; fi
|
2019-06-12 14:46:59 +02:00
|
|
|
- docker ps
|
2019-06-12 16:19:15 +02:00
|
|
|
- for c in $(docker ps -q); do echo "> docker logs $c"; docker logs $c; done
|
2018-10-23 23:31:03 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-02-15 17:42:58 +01:00
|
|
|
env:
|
2019-06-10 23:51:43 +02:00
|
|
|
- NODE_VERSION=10.16.0 COMMAND=clean
|
|
|
|
- NODE_VERSION=10.16.0 COMMAND=build-devenv
|
|
|
|
#- NODE_VERSION=10.16.0 COMMAND=run-devenv
|
2019-06-19 18:31:48 +02:00
|
|
|
- NODE_VERSION=10.16.0 COMMAND=test-devenv
|
2019-06-10 23:51:43 +02:00
|
|
|
- NODE_VERSION=10.16.0 COMMAND=build-release
|
2019-06-11 22:39:41 +02:00
|
|
|
- NODE_VERSION=10.16.0 COMMAND=build-release-frontend
|
|
|
|
- NODE_VERSION=10.16.0 COMMAND=build-release-backend
|
2019-06-11 21:10:07 +02:00
|
|
|
- NODE_VERSION=10.16.0 COMMAND=run-release
|