dist: xenial

language: generic
sudo: required

cache:
  directories:
    - $HOME/.m2

services:
  - docker

branches:
  only:
    - master
    - develop

install:
  - curl -O https://download.clojure.org/install/linux-install-1.10.1.447.sh
  - chmod +x linux-install-1.10.1.447.sh
  - sudo ./linux-install-1.10.1.447.sh

before_script:
  - env | sort

script:
  - ./manage.sh build-devenv
  - ./manage.sh run-frontend-tests
  - ./manage.sh run-backend-tests

after_script:
  - docker images

notifications:
  email: false

env:
  - NODE_VERSION=10.16.0

dist: xenial

language: generic
sudo: required

cache:
  directories:
    - $HOME/.m2

services:
  - docker

branches:
  only:
    - master
    - develop

install:
  - curl -O https://download.clojure.org/install/linux-install-1.10.1.447.sh
  - chmod +x linux-install-1.10.1.447.sh
  - sudo ./linux-install-1.10.1.447.sh

before_script:
  - env | sort

script:
  - ./manage.sh build-devenv
  - ./manage.sh run-frontend-tests
  - ./manage.sh run-backend-tests
  - ./manage.sh build-images
  - ./manage.sh run

after_script:
  - docker images

notifications:
  email: false

env:
  - NODE_VERSION=10.16.0

Add docker build / run to CI
:construction_worker: Add docker build / run to CI

Signed-off-by: mathieu.brunot <cbb78c9d6ecc8139b4697c3352cc1f1edbdf61d7@monogramm.io>
