Skip to content
This repository has been archived by the owner on Jul 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6 from mythmon/travis
Browse files Browse the repository at this point in the history
Flesh out Travis.
  • Loading branch information
mythmon committed Apr 13, 2015
2 parents 5f3d21b + e0cfe3a commit 54ea11b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
@@ -1,5 +1,8 @@
language: python
python: 3.4
test:
- ./manage.py test
install:
- pip install -r requirements.txt
- npm --python=$(which python2.7) install
script:
- DJANGO_SETTINGS_MODULE=edwin.settings DJANGO_CONFIGURATION=Test ./manage.py test
- npm test
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -6,6 +6,7 @@ Edwin is a bug management system.
* **issues** https://github.com/mythmon/edwin/issues
* **license** MPLv2
* **author** League of Assassins
* **status** [![Build Status](https://travis-ci.org/mythmon/edwin.svg?branch=master)](https://travis-ci.org/mythmon/edwin)


# Install for hacking
Expand Down
6 changes: 6 additions & 0 deletions edwin/settings.py
Expand Up @@ -124,3 +124,9 @@ class Base(ConstantSettings):
class Dev(Base):
DEBUG = True
SECRET_KEY = 'not a secret'


class Test(Base):
SECRET_KEY = 'not a secret'
# Use an in-memory database
DATABASES = values.DatabaseURLValue('sqlite://')

0 comments on commit 54ea11b

Please sign in to comment.