From 5947ca93b3b69a727ca21ba865c76c7cce000682 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sat, 10 Aug 2019 10:45:11 +0200 Subject: [PATCH] Run Xtesting unit tests via CircleCI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It runs tox and published the artifacts. It's worth mentioning that all docker images are already built via Travis CI (amd64, arm and arm64) [1]. https://travis-ci.org/collivier/functest-xtesting Change-Id: Icc57b6c45062425181230f3ebbdc5d3f7a925f99 Signed-off-by: Cédric Ollivier (cherry picked from commit 4be2e13c066fe5952b3a6339d27cd603e0fbaa18) --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..0e8dc396 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +--- +version: 2 +jobs: + build: + docker: + - image: circleci/python:3.6.9 + steps: + - checkout + - run: + name: Install dependendencies + command: sudo apt-get install python2.7-dev + - run: + name: Run tox + command: sudo pip install tox && tox + - store_artifacts: + path: api/build + destination: api + - store_artifacts: + path: cover + destination: cover + - store_artifacts: + path: coverage.xml + destination: coverage.xml -- 2.16.6