1
0
mirror of https://github.com/wallabag/docker synced 2025-12-12 17:26:25 +00:00
Files
docker-wallabag/.travis.yml
Marvin Steadfast 4a81bc45db added travis testing
travis builds and spins up containers for sqlite, mariadb and postgres
and runs a simple python test script for accessing the wallabag.
2016-08-29 13:51:14 +02:00

26 lines
396 B
YAML

language: python
python:
- 3.5
services:
- docker
env:
- 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/