This repository was archived by the owner on Jul 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,14 @@ sudo: required
2
2
dist : xenial
3
3
language : python
4
4
cache : pip
5
- before_install :
6
- - if [[ $TRAVIS_PYTHON_VERSION == '3.7-dev' ]]; then sudo add-apt-repository ppa:deadsnakes/ppa -y; fi
7
- - if [[ $TRAVIS_PYTHON_VERSION == '3.7-dev' ]]; then sudo sudo apt-get update; fi
8
5
install :
9
6
- pip install coverage coveralls flake8 flake8-bugbear mypy
10
7
- pip install -e .
11
8
script :
12
9
- coverage run tests/test_black.py
13
10
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then mypy black.py tests/test_black.py; fi
14
- - if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev ' ]]; then flake8 black.py tests/test_black.py ; fi
15
- - if [[ $TRAVIS_PYTHON_VERSION == '3.7 -dev' ]]; then black --check --verbose . ; fi
11
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.7 ' ]]; then black --check --verbose . ; fi
12
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.8 -dev' ]]; then flake8 black.py tests/test_black.py ; fi
16
13
after_success :
17
14
- coveralls
18
15
notifications :
@@ -21,5 +18,5 @@ notifications:
21
18
matrix :
22
19
include :
23
20
- python : 3.6
24
- - python : 3.6-dev
25
- - python : 3.7 -dev
21
+ - python : 3.7
22
+ - python : 3.8 -dev
You can’t perform that action at this time.
0 commit comments