浏览代码

Adding Travis CI configuration

Jens Rantil 12 年之前
父节点
当前提交
329333a853
共有 2 个文件被更改,包括 16 次插入0 次删除
  1. 13 0
      .travis.yml
  2. 3 0
      test_requirements.txt

+ 13 - 0
.travis.yml

@@ -0,0 +1,13 @@
+# Configuration for Travis CI
+
+language: python
+python:
+  - "2.5"
+  - "2.6"
+  - "2.7"
+# command to install dependencies
+install:
+  - pip install -r test_requirements.txt --use-mirrors
+# command to run tests
+script:
+  - python setup.py test -q

+ 3 - 0
test_requirements.txt

@@ -0,0 +1,3 @@
+# Requirements used for testing
+mock >= 0.5.0
+meld3 >= 0.6.5