[tor-commits] [stem/master] set up a matrix of tests

atagar at torproject.org atagar at torproject.org
Thu Sep 14 17:41:10 UTC 2017


commit cb94162d043eb4fece10601dff43ec8189587ffb
Author: Edmund Wong <ewongbb at pw-wspx.org>
Date:   Wed Sep 13 10:42:34 2017 +0800

    set up a matrix of tests
---
 .travis.yml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ea169f76..aa74d32a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,13 +4,15 @@ dist: precise
 
 language: python
 
-# Available Python versions:
-# http://about.travis-ci.org/docs/user/ci-environment/#Python-VM-images
-python:
-  - "2.7"
-  - "3.6"
+matrix:
+  include:
+    - python: "2.7"
+    - python: "3.5"
+    - python: "3.6"
 
 env:
+  - TEST_PARAM: "--unit"
+  - TEST_PARAM: "--integ"
 
 # Dependencies installation commands
 install:
@@ -19,7 +21,7 @@ install:
 
 # Tests running commands
 script:
-  - ./run_tests.py --unit 
+  - ./run_tests.py $TEST_PARAM 
 
 notifications:
   email: false





More information about the tor-commits mailing list