about summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 7a156b2b..ce55f33e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,20 @@
 dist: 'xenial'
 
 language: 'python'
-python:
-  - '2.7'
-  - '3.5'
-  - '3.6'
+jobs:
+  include:
+    - name: "Python 2.7 no linting"
+      python: '2.7'
+      env: PY2='TRUE'
+    - name: "Python 3"
+      python:
+        - '3.5'
+        - '3.6'
+        - '3.7'
+        - '3.8'
 
 install:
   - 'pip install -r requirements.txt'
 
 script:
-  - 'make test'
+  - 'if [ -z "${PY2}" ]; then make test; else make test_doctest test_pytest test_other; fi'