Browse files

Added travis-ci for testing

  • Loading branch information...
1 parent ad1d449 commit 61bc3f75f55c383e24475bfb31a6ae3517f7e5a0 Anthony Oliver committed Feb 28, 2012
Showing with 28 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +8 −0 .travis.yml
  3. +1 −0 requirements.txt
  4. +16 −0 test.py
View
3 .gitignore
@@ -1 +1,4 @@
markdown.txt
+*.pyc
+pyc
+.pyc
View
8 .travis.yml
@@ -0,0 +1,8 @@
+language: python
+python:
+ - 2.6
+ - 2.7
+# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
+install: pip install -r requirements.txt --use-mirrors
+# command to run tests, e.g. python setup.py test
+script: nosetests test.py
View
1 requirements.txt
@@ -0,0 +1 @@
+markdown
View
16 test.py
@@ -0,0 +1,16 @@
+from nose.tools import with_setup
+import os, sys, pickle
+
+def test_import():
+ try:
+ import markdown
+ except:
+ assert False
+
+def test_simulate():
+ pass
+
+def test_one():
+ pass
+
+

0 comments on commit 61bc3f7

Please sign in to comment.