mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-23 05:34:28 +00:00
Fix drone file
This commit is contained in:
parent
f56713581c
commit
a71f6f1cf8
1 changed files with 22 additions and 23 deletions
|
@ -2,14 +2,13 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: python:3
|
image: python:3
|
||||||
commands:
|
commands:
|
||||||
- sudo apt-get install -y curl python-tk
|
- sudo apt-get install -y curl python-tk docker-ce docker-ce-cli containerd.io
|
||||||
- sudo pip install -U pip
|
- sudo pip install -U pip
|
||||||
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
- sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||||
- sudo chmod +x /usr/local/bin/docker-compose
|
- sudo chmod +x /usr/local/bin/docker-compose
|
||||||
- docker-compose --version
|
- docker-compose --version
|
||||||
- pip install -r dev-requirements.txt
|
- pip install -r dev-requirements.txt
|
||||||
- git clone https://github.com/tsileo/poussetaches.git && cd poussetaches && docker build . -t poussetaches:latest && cd -
|
- git clone https://github.com/tsileo/poussetaches.git && cd poussetaches && docker build . -t poussetaches:latest && cd -
|
||||||
script:
|
|
||||||
- mypy --ignore-missing-imports .
|
- mypy --ignore-missing-imports .
|
||||||
- flake8 activitypub.py
|
- flake8 activitypub.py
|
||||||
- cp -r tests/fixtures/me.yml config/me.yml
|
- cp -r tests/fixtures/me.yml config/me.yml
|
||||||
|
|
Loading…
Reference in a new issue