ogn-python/.travis.yml

25 wiersze
400 B
YAML

language: python
env:
- OGN_CONFIG_MODULE='config.test'
python:
- 3.4
services:
- postgresql
before_script:
- flake8 tests ogn
- psql -c 'CREATE DATABASE ogn_test;' -U postgres
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d ogn_test
script:
- nosetests --with-coverage --cover-package=ogn
- pip install . --upgrade
- python -c 'import ogn'
after_success:
- coveralls