Skip to content

Commit 06cfcea

Browse files
committed
fixing matrix
1 parent 7561352 commit 06cfcea

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ sudo: true
44

55
os: linux
66

7-
language: python
7+
python:
8+
- "2.7"
9+
- "3.5"
810

911
matrix:
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

1616
before_install:
1717
- sudo chmod u+x .travis/*

.travis/script

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
#!/bin/bash
22
sudo 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

0 commit comments

Comments
 (0)