From c8d2e5fae04e01c9159a17c7c09764e5706a6443 Mon Sep 17 00:00:00 2001 From: ryanbooth Date: Fri, 25 Mar 2022 17:30:23 -0500 Subject: [PATCH 1/2] add circleCI support --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9ad09a2 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2.1 + +orbs: + python: circleci/python@1.5.0 + +jobs: + run-tox-testing: + docker: + - image: cimg/python:3.8 + 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 From eb3a9f491cd7e76356f9924776f8dd5104e398fa Mon Sep 17 00:00:00 2001 From: ryanbooth Date: Sat, 26 Mar 2022 09:29:18 -0500 Subject: [PATCH 2/2] add circleCI support --- .circleci/config.yml | 1 + .travis.yml | 6 ------ README.md | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ad09a2..c1e5134 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,7 @@ jobs: run-tox-testing: docker: - image: cimg/python:3.8 + resource_class: small steps: - checkout - run: 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