From 17fd4cc911eca9d289fc481ee7a615299f17415a Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 10 Aug 2019 15:21:38 +0200 Subject: Run Functest unit tests and linters via CircleCI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It runs tox and publishes 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 Change-Id: I48720f4f13dd1a93469b042000dd86a01854d8f0 Signed-off-by: Cédric Ollivier --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..e57f61db0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +--- +version: 2 +jobs: + build: + docker: + - image: circleci/python:3.7.4 + 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: docs/build + destination: docs + - store_artifacts: + path: cover + destination: cover + - store_artifacts: + path: coverage.xml + destination: coverage.xml -- cgit 1.2.3-korg