mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 14:04:02 +03:00
Reformat travis.yml and turn off email notifications (#4159)
This commit is contained in:
parent
b92901e591
commit
9d5773772b
23
.travis.yml
23
.travis.yml
|
@ -1,7 +1,7 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
@ -20,20 +20,16 @@ env:
|
||||||
- TOX_ENV=py35-django110
|
- TOX_ENV=py35-django110
|
||||||
- TOX_ENV=py34-django110
|
- TOX_ENV=py34-django110
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: TOX_ENV=py27-django110
|
- env: TOX_ENV=py27-django110
|
||||||
- env: TOX_ENV=py34-django110
|
- env: TOX_ENV=py34-django110
|
||||||
- env: TOX_ENV=py35-django110
|
- env: TOX_ENV=py35-django110
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
fast_finish: true
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Virtualenv < 14 is required to keep the Python 3.2 builds running.
|
# Virtualenv < 14 is required to keep the Python 3.2 builds running.
|
||||||
- pip install tox "virtualenv<14"
|
- pip install tox "virtualenv<14"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox -e $TOX_ENV
|
- tox -e $TOX_ENV
|
||||||
|
@ -41,3 +37,6 @@ script:
|
||||||
after_success:
|
after_success:
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- codecov -e TOX_ENV
|
- codecov -e TOX_ENV
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user