Ver código fonte

be lazy for now

Getty Ritter 4 anos atrás
pai
commit
1d4a73e4de
1 arquivos alterados com 4 adições e 22 exclusões
  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