Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjur committed Aug 17, 2018
1 parent a83561e commit b6315f9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: python
python:
- "3.6"

services:
- postgresql

env:
matrix:
- DJANGO=2.1 DB=postgres
global:
- SECRET_KEY=not_so_secret
B_DATABASE_URL="postgres://postgres@localhost/test_db"
ALLOWED_HOSTS= "localhost"
SENTRY_DSN=""

install:
- pip install -r requirements.txt

before_script:
- psql -c 'create database test_db;' -U postgres

script:
- python manage.py test

0 comments on commit b6315f9

Please sign in to comment.