Browse Source

Merge pull request #192 from JensRantil/issue-191

Adding Travis CI configuration
Mike Naberezny 12 năm trước cách đây
mục cha
commit
1b5dc9f876
3 tập tin đã thay đổi với 19 bổ sung0 xóa
  1. 14 0
      .travis.yml
  2. 3 0
      test_requirements.txt
  3. 2 0
      tox.ini

+ 14 - 0
.travis.yml

@@ -0,0 +1,14 @@
+# Configuration for Travis CI
+# !!! When making changes, make sure to also edit tox.ini !!!
+
+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

+ 2 - 0
tox.ini

@@ -1,3 +1,5 @@
+# !!! When making changes, make sure to also edit .travis.yml !!!
+
 [tox]
 envlist =
     py25,py26,py27