瀏覽代碼

be lazy for now

Getty Ritter 4 年之前
父節點
當前提交
1d4a73e4de
共有 1 個文件被更改,包括 4 次插入22 次删除
  1. 4 22
      .drone.yml

+ 4 - 22
.drone.yml

@@ -8,25 +8,7 @@ steps:
 - name: setup
   image: python
   commands:
-  - pip install poetry --user
-  - pip install invoke --user
-  - /root/.local/bin/poetry config virtualenvs.in-project true --local
-  - /root/.local/bin/poetry install
-
-- name: test
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv test
-
-- name: typecheck
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv tc
-
-- name: format
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv checkfmt
+  - pip install poetry
+  - poetry run inv test
+  - poetry run inv tc
+  - poetry run inv checkfmt