Skip to content

Commit b499e0d

Browse files
committed
travis
1 parent 5ef9927 commit b499e0d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.travis.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,21 @@ language: python
22
dist: xenial
33
matrix:
44
include:
5-
- python: 2.7
6-
- python: 3.4
75
- python: 3.5
86
- python: 3.6
97
- python: 3.7
108
sudo: true
119
cache: pip
1210
install:
13-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install black; fi
14-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install pycodestyle; fi
15-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install pytest-cov; fi
16-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install codecov; fi
11+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install black; fi
12+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install pycodestyle; fi
13+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install pytest-cov; fi
14+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install codecov; fi
1715
script:
1816
- echo $STREAM_KEY
1917
- python setup.py test
20-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then black stream_chat; fi
21-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pycodestyle --ignore=E501,E225,W293 stream_chat; fi
18+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then black stream_chat; fi
19+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pycodestyle --ignore=E501,E225,W293 stream_chat; fi
2220
- python setup.py install
2321
after_script:
24-
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then codecov; fi
22+
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then codecov; fi

0 commit comments

Comments
 (0)