[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit cb94162d043eb4fece10601dff43ec8189587ffb
Author: Edmund Wong <ewongbb@xxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits