mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
21 lines
587 B
YAML
21 lines
587 B
YAML
language: python
|
|
sudo: required
|
|
python:
|
|
- "3.6"
|
|
services:
|
|
- docker
|
|
install:
|
|
- sudo apt-get install -y curl
|
|
- 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 chmod +x /usr/local/bin/docker-compose
|
|
- docker-compose --version
|
|
- pip install -r dev-requirements.txt
|
|
script:
|
|
- mypy --ignore-missing-imports .
|
|
- flake8 activitypub.py
|
|
- cp -r tests/me.yml config/me.yml
|
|
- docker-compose up -d
|
|
- docker-compose ps
|
|
- sleep 2
|
|
- pytest -v --ignore data
|