You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
416 B
26 lines
416 B
language: python |
|
|
|
python: |
|
- 3.5 |
|
|
|
services: |
|
- docker |
|
|
|
env: |
|
- DB_TYPE=default |
|
- DB_TYPE=sqlite |
|
- DB_TYPE=mariadb |
|
- DB_TYPE=postgresql |
|
|
|
install: |
|
- docker-compose -f tests/docker-compose.$DB_TYPE.yml build |
|
- docker-compose -f tests/docker-compose.$DB_TYPE.yml up -d |
|
|
|
before_script: |
|
- pip install pytest |
|
- pip install requests |
|
|
|
script: |
|
- docker ps | grep -q wallabag |
|
- sleep 60 |
|
- py.test tests/
|
|
|