diff .travis.yml @ 5781:6d750ae6efe5

Try implementing tests in 2.7 , 3.4...3.7 python.
author John Rouillard <rouilj@ieee.org>
date Mon, 10 Jun 2019 18:50:37 -0400
parents 307a051e314e
children 13a80545c774
line wrap: on
line diff
--- a/.travis.yml	Sun Jun 09 21:34:10 2019 -0400
+++ b/.travis.yml	Mon Jun 10 18:50:37 2019 -0400
@@ -1,12 +1,14 @@
 language: python
 
 # matrix:
-#   - name: "python <= 3.6"
+#  include:
+#    - name: "python <= 3.6"
 python:
   - "2.7"
   - "3.4"
   - "3.5"
   - "3.6"
+  - "3.7"
 
 #  allow_failures:
 #    - name: "Python >3.6"
@@ -14,6 +16,34 @@
 #        - "3.7"  # not available in travis with 14.04 ubuntu base.
 #      dist: xenial
 
+# try:
+#  define top level 5x2 matrix
+# python:
+#   - "2.7"
+#   - "3.4"
+#   - "3.5"
+#   - "3.6"
+#   - "3.7"
+dist:
+ - trusty
+ - xenial
+#
+# filter in only trusty and python <= 3.6; xenial and python >= 3.7
+matrix:
+  include:
+    - name: "python <= 3.6"
+      python:
+        - "2.7"
+        - "3.4"
+        - "3.5"
+        - "3.6"
+      dist: trusty
+  allow_failures:
+    - name: "Python >3.6"
+      python:
+        - "3.7"  # not available in travis with 14.04 ubuntu base.
+      dist: xenial
+
 sudo: false
 
 addons:

Roundup Issue Tracker: http://roundup-tracker.org/