Skip to content

Commit

Permalink
Merge 9536d80 into 6688aee
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtrigger committed Nov 28, 2018
2 parents 6688aee + 9536d80 commit 10b0f8d
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: HuZw0G35Rwk87XmqwF9Zfg
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ ENV/

# SQLite3
db.sqlite3

# vscode directory
.vscode/
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: python

python:
- "3.6"

services: postgresql

env:
- DJANGO=2.1.3

install:
- pip install -r requirements.txt
- pip install coveralls
- pip install coverage

before_script:
- psql -c "CREATE DATABASE athenatraviscidb;" -U postgres
- python manage.py makemigrations
- python manage.py migrate

script:
- coverage run --source='.' ./manage.py test
- coverage report

after_success:
- coveralls

notifications:
email: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/andela/ah-backend-athena.svg?branch=ch-travis-readme-badge-162163256)](https://travis-ci.org/andela/ah-backend-athena)

Authors Haven - A Social platform for the creative at heart.
=======

Expand Down
1 change: 1 addition & 0 deletions authors/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases


DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
Expand Down

0 comments on commit 10b0f8d

Please sign in to comment.