Updated requirements and added TravisCI configuration

This commit is contained in:
Swen Kooij 2016-10-21 13:38:45 +03:00
parent dfe587d03b
commit f2f8278300
3 changed files with 18 additions and 7 deletions

View File

@ -1,5 +1,5 @@
env:
- DJANGO_SETTINGS_MODULE=settings
- DJANGO_SETTINGS_MODULE=config.settings.test
sudo: true
before_install:
- sudo apt-get update -qq
@ -13,6 +13,9 @@ python:
- "3.5"
services:
- postgresql
- redis-server
install: "pip install -r requirements/test.txt"
script:
- coverage run manage.py test
notifications:
slack: sectorlabs:OOGt0rCplfNeAs1E2FR4UwxE

14
requirements/test.txt Normal file
View File

@ -0,0 +1,14 @@
coverage==4.2
Django==1.10.2
django-autoslug==1.9.3
django-bleach==0.3.0
django-coverage-plugin==1.3.1
psycopg2==2.6.2
pylint==1.6.4
pylint-common==0.2.2
pylint-django==0.7.2
pylint-plugin-utils==0.2.4
coverage==4.2
django-coverage-plugin==1.3.1
flake8==3.0.4
pep8==1.7.0

View File

@ -1,6 +0,0 @@
coverage==4.2
Django==1.10.2
django-autoslug==1.9.3
django-bleach==0.3.0
django-coverage-plugin==1.3.1
psycopg2==2.6.2