aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-08-10 14:59:41 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-08-10 15:01:54 +0200
commit46a867f6d7aa73af6728fcf459ec76150103f5cb (patch)
treeb29fc4f60e7a8a5086e7d3f5d930a455f4492d56
parent7092ae97a37936ff0584e0845d9a87f4e5f86696 (diff)
Run Functest K8s unit tests via CircleCI
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-kubernetes Change-Id: I668481c123adfbfddb4f41feec1ebcec7c75f85d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--.circleci/config.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 00000000..e7612a7e
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,20 @@
+---
+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: cover
+ destination: cover
+ - store_artifacts:
+ path: coverage.xml
+ destination: coverage.xml