فهرست منبع

.travis.yml: Use tox so more DRY

This makes the .travis.yml use tox so there is less repeated code.
Marc Abramowitz 11 سال پیش
والد
کامیت
52258069b7
1فایلهای تغییر یافته به همراه12 افزوده شده و 10 حذف شده
  1. 12 10
      .travis.yml

+ 12 - 10
.travis.yml

@@ -1,13 +1,15 @@
-# Configuration for Travis CI
-# !!! When making changes, make sure to also edit tox.ini !!!
-
 language: python
-python:
-  - "2.6"
-  - "2.7"
-# command to install dependencies
+env:
+    - TOXENV=py26
+    - TOXENV=py27
+    - TOXENV=cover
+    # - TOXENV=pypy
+    # - TOXENV=py32
+    # - TOXENV=py33
+    # - TOXENV=py34
 install:
-  - pip install -r test_requirements.txt --use-mirrors
-# command to run tests
+    - travis_retry pip install tox==1.6.1
 script:
-  - python setup.py test -q
+    - travis_retry tox
+notifications:
+    email: false