File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed
Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ sudo: true
44
55os : linux
66
7- language : python
7+ python :
8+ - " 2.7"
9+ - " 3.5"
810
911matrix :
10- include :
11- - os : linux
12- env : PYTHON_VERSION=2
13- - os : linux
14- env : PYTHON_VERSION=3
12+ allow_failures :
13+ - python : " 2.6"
14+ - python : " 3.5"
1515
1616before_install :
1717 - sudo chmod u+x .travis/*
Original file line number Diff line number Diff line change 11#! /bin/bash
22sudo apt-get install -y squashfs-tools
3+ python -m unittest discover -s $TRAVIS_BUILD_DIR /spython/tests/ -p ' [t|T]est*.py'
34
4- if [ " ${PYTHON_VERSION} " == " 2" ];
5- then
6- python -m unittest discover -s $TRAVIS_BUILD_DIR /spython/tests/ -p ' [t|T]est*.py'
7- else
8- python3 -m unittest discover -s $TRAVIS_BUILD_DIR /spython/tests/ -p ' [t|T]est*.py'
9- fi
You can’t perform that action at this time.
0 commit comments