summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Marshall <catchjosh@gmail.com>2021-03-30 14:06:06 +0900
committerJosh Marshall <catchjosh@gmail.com>2021-03-30 14:06:06 +0900
commit10c792fc091ba1c9c893bdcad670bc04bebe4ef8 (patch)
tree57520ed12e1d5cf5b64aec070f17175de14f9e90
parenta6cf33899294e3669aad44b6ee3b1fb23f6a3502 (diff)
downloadjsonrpclib-10c792fc091ba1c9c893bdcad670bc04bebe4ef8.tar.gz
Adding CircleCI support.
-rw-r--r--.circleci/config.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..8c43f85
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,28 @@
+version: 2.1
+
+orbs:
+ python: circleci/python@0.2.1
+
+jobs:
+ build-and-test:
+ executor: python/default
+ steps:
+ - checkout
+ - python/load-cache
+ - python/install-deps
+ - run:
+ name: Install CI dependencies
+ command: pip3 install tox twine
+ - python/save-cache
+ - run:
+ command: flake8
+ name: Flake8 / linting
+ - run:
+ command: tox
+ name: Run package tests across all python variants
+
+workflows:
+ main:
+ jobs:
+ - build-and-test
+