瀏覽代碼

Set up basic config

Anton Gusev 5 年之前
父節點
當前提交
5eee02610e
共有 1 個文件被更改,包括 24 次插入0 次删除
  1. 24 0
      .circleci/config.yml

+ 24 - 0
.circleci/config.yml

@@ -0,0 +1,24 @@
+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
+      - python/save-cache
+      - run:
+          command: ./manage.py test
+          name: Test
+      - run:
+          command: echo Hi
+          name: Hi
+
+workflows:
+  main:
+    jobs:
+      - build-and-test