Skip to content

Commit

Permalink
Add travis conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ericflo committed Oct 5, 2012
1 parent 16c907f commit 45e3390
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python:
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: python setup.py install
# command to run tests, e.g. python setup.py test
script: clutch-test travis.py
34 changes: 34 additions & 0 deletions travis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Debug mode gives nicer error messages and enables serving of static media
# directly from the Python process. It is highly insecure, however, so be sure
# to turn it off before going to production.
DEBUG = False

# Make this unique, and don't share it with anybody.
SECRET_KEY = 'ykzp27^ltn1ump9lrtim@*u#9k=8k#l0wpzy-k^e(yu)+zpy8a'

# This tells all of the Clutch systems how to talk to your PostgreSQL database,
# so if you are running it on a different host, you should change the host and
# port information here (as well as any security credentials your setup
# requires.)
DATABASES['default'] = {
'ENGINE': 'django.db.backends.sqlite3',
}

# Enter your Amazon Web Services S3 access key, secret, and the bucket name.
# (This is necessary for hybrid native/html application framework ONLY.)
AWS_ACCESS_KEY = ''
AWS_ACCESS_SECRET = ''
AWS_BUCKET_NAME = ''

# The host and port that the Clutch RPC server should run on.
CLUTCH_RPC_HOST = '0.0.0.0'
CLUTCH_RPC_PORT = 41674

# This is the URL that the tunnel should use to communicate with the Clutch
# RPC server. This may differ from the CLUTCH_RPC_HOST and the CLUTCH_RPC_PORT
# if the RPC server is running on a different servers.
CLUTCH_RPC_URL = 'http://127.0.0.1:41674/'

# The host and port that the Clutch Tunnel server should run on.
CLUTCH_TUNNEL_HOST = '127.0.0.1'
CLUTCH_TUNNEL_PORT = 41675

0 comments on commit 45e3390

Please sign in to comment.