aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-02-03 13:30:21 +0000
committerGravatar JoeBanks13 <[email protected]>2018-02-03 13:30:21 +0000
commit5f70ca9190470443e20b8dda9adceb8327dc16f0 (patch)
tree9378ae3f6f98b2824fd68b20acef09ecc429725b
parentChange __main__.py to app.py (diff)
Add circleci
-rw-r--r--.circleci/config.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 00000000..575962cd
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,33 @@
+# Python CircleCI 2.0 configuration file
+#
+# Check https://circleci.com/docs/2.0/language-python/ for more details
+#
+version: 2
+jobs:
+ build:
+ docker:
+ # specify the version you desire here
+ # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
+ - image: circleci/python:3.6.1
+
+ # Specify service dependencies here if necessary
+ # CircleCI maintains a library of pre-built images
+ # documented at https://circleci.com/docs/2.0/circleci-images/
+ # - image: circleci/postgres:9.4
+
+ working_directory: ~/repo
+
+ steps:
+ - checkout
+ - run:
+ name: install dependencies
+ command: |
+ python3 -m venv venv
+ . venv/bin/activate
+ pip install -r requirements.txt
+ pip install snekchek yapf flake8 isort
+ - run:
+ name: lint code
+ command: |
+ snekchek
+ \ No newline at end of file