From 41f368d02df1ff922cc476c7111237a1759e029f Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Fri, 29 Jun 2018 02:26:20 -0700 Subject: [PATCH] [CI] Setup docker + try running systemd container --- .circleci/config.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5a7162d..c3af07a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,6 +27,23 @@ jobs: key: v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }} - run: - name: run tests + name: run unit tests command: | py.test tests/ + + # Run full installer test + - setup_remote_docker + + - run: + name: build docker image + command: | + docker build -t tljh-systemd . + + - run: + name: start docker image + command: | + docker run \ + --privileged \ + --detach \ + --name=tljh-dev \ + tljh-systemd