Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 3bdd423

Browse files
cclausszsol
cclauss
authored andcommitted
TravisCI: Test on production Python 3.7 and 3.8-dev (pytest-dev#393)
1 parent 579a8f9 commit 3bdd423

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ sudo: required
22
dist: xenial
33
language: python
44
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
85
install:
96
- pip install coverage coveralls flake8 flake8-bugbear mypy
107
- pip install -e .
118
script:
129
- coverage run tests/test_black.py
1310
- 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
1613
after_success:
1714
- coveralls
1815
notifications:
@@ -21,5 +18,5 @@ notifications:
2118
matrix:
2219
include:
2320
- python: 3.6
24-
- python: 3.6-dev
25-
- python: 3.7-dev
21+
- python: 3.7
22+
- python: 3.8-dev

0 commit comments

Comments
 (0)