]> Devi Nivas Git - chevron.git/commitdiff
Use tox-travis
authorNoah Morrison <noah@morrison.ph>
Thu, 15 Jun 2017 02:38:12 +0000 (22:38 -0400)
committerNoah Morrison <noah@morrison.ph>
Thu, 15 Jun 2017 02:38:12 +0000 (22:38 -0400)
.travis.yml
tox.ini

index 10d028f258abcef96baed5178f7ce0e560321999..76276f0bb61e06b146fef5c59bc585caa524b9f1 100644 (file)
@@ -1,16 +1,18 @@
+sudo: false
 language: python
+
 python:
   - "2.6"
   - "2.7"
   - "3.2"
   - "3.3"
   - "3.4"
+
 install:
-  - pip install flake8
   - pip install coveralls
-script:
-  - flake8 .
-  - ./test_spec.py
-  - coverage run --source=chevron ./test_spec.py
+  - pip install tox-travis
+
+script: tox
+
 after_success:
   - coveralls
diff --git a/tox.ini b/tox.ini
index f634db7fef174a4340ac3b82ab36af7e44ae733b..4235cedf87fc8695e9f68bb5469bce7d57a64fd1 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py26, py27, py33, py34, pypy, pypy3, flake8
+envlist = py26, py27, py33, py34, pypy, flake8
 
 [testenv]
 commands = python {toxinidir}/test_spec.py