aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-08-10 15:21:38 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-08-10 15:22:20 +0200
commit17fd4cc911eca9d289fc481ee7a615299f17415a (patch)
tree49d41b2e7bf5fc7a3a384f83868b2a7ee2b5eec7 /.circleci
parent2d11bc6f387552f95127a6a92a38df11f658597c (diff)
Run Functest unit tests and linters via CircleCI
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 <cedric.ollivier@orange.com>
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml26
1 files changed, 26 insertions, 0 deletions
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