diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c1e5134 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2.1 + +orbs: + python: circleci/python@1.5.0 + +jobs: + run-tox-testing: + docker: + - image: cimg/python:3.8 + resource_class: small + steps: + - checkout + - run: + name: install tox + command: pip install tox + - run: + name: run tox + command: tox + - store_artifacts: + path: ./log + destination: logs-file + +workflows: + test-and-build: + jobs: + - run-tox-testing diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a9d4b0c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -dist: xenial -language: python -python: - - 3.8 -install: pip install tox-travis -script: tox \ No newline at end of file diff --git a/README.md b/README.md index 2956f5f..14aa9e6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Apstra (AOS) RestAPI Python Library +[![CircleCI](https://circleci.com/gh/Apstra/apstra-api-python/tree/main.svg?style=svg)](https://circleci.com/gh/Apstra/apstra-api-python/tree/main) Educational Python library with the goal to teach users how to programmatically interact with apstra and integrate the Apstra