Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add TravisCI configuration file.

  • Loading branch information...
commit 37d5f7140f73c974168f2276d6020984e264a299 1 parent 403cd83
@FSX authored
Showing with 22 additions and 0 deletions.
  1. +20 −0 .travis.yml
  2. +2 −0  requirements.txt
View
20 .travis.yml
@@ -0,0 +1,20 @@
+language: python
+python:
+ - "2.7"
+ - "3.2"
+ - "3.3"
+
+before_script:
+ - psql -c 'CREATE DATABASE momoko_test;' -U postgres
+ - psql -c 'CREATE EXTENSION hstore;' -U postgres
+
+env:
+ - MOMOKO_TEST_DB="momoko_test"
+ - MOMOKO_TEST_USER="postgres"
+ - MOMOKO_TEST_PASSWORD=""
+ - MOMOKO_TEST_HOST=""
+ - MOMOKO_TEST_PORT=""
+ - MOMOKO_TEST_HSTORE="1"
+
+install: "pip install -r requirements.txt --use-mirrors"
+script: python setup.py test
View
2  requirements.txt
@@ -0,0 +1,2 @@
+tornado
+psycopg2
Please sign in to comment.
Something went wrong with that request. Please try again.