Procházet zdrojové kódy

.travis.yml: Use tox so more DRY

This makes the .travis.yml use tox so there is less repeated code.
Marc Abramowitz před 11 roky
rodič
revize
52258069b7
1 změnil soubory, kde provedl 12 přidání a 10 odebrání
  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