mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix travis
This commit is contained in:
parent
bafc04ca42
commit
e1d1385358
@ -29,5 +29,5 @@ cache:
|
|||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
install: pip install -U tox coveralls
|
install: pip install -U tox coveralls
|
||||||
language: python
|
language: python
|
||||||
script: tox
|
script: travis_wait tox
|
||||||
after_success: coveralls
|
after_success: coveralls
|
||||||
|
7
tox.ini
7
tox.ini
@ -9,11 +9,8 @@ setenv =
|
|||||||
; which get read in from setup.py. If we don't force our locale to a
|
; which get read in from setup.py. If we don't force our locale to a
|
||||||
; utf8 one, tox's env is reset. And the install of these 2 packages
|
; utf8 one, tox's env is reset. And the install of these 2 packages
|
||||||
; fail.
|
; fail.
|
||||||
whitelist_externals =
|
whitelist_externals = /usr/bin/env
|
||||||
/usr/bin/env
|
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
|
||||||
/usr/bin/travis_wait
|
|
||||||
; TEMP, to get cache going on Travis :-/
|
|
||||||
install_command = /usr/bin/env LANG=C.UTF-8 /usr/bin/travis_wait pip install {opts} {packages}
|
|
||||||
commands =
|
commands =
|
||||||
py.test --timeout=30 --duration=10 --cov --cov-report= {posargs}
|
py.test --timeout=30 --duration=10 --cov --cov-report= {posargs}
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user