forked from SickChill/sickchill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (37 loc) · 948 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[tox]
skipsdist = true
envlist = py27-{windows,linux}
[testenv:py27-linux]
platform = linux
whitelist_externals = /bin/rm
envdir = {toxworkdir}/tox
passenv = CI TRAVIS TRAVIS_*
deps =
codecov
nose
rednose
mock
vcrpy-unittest
pytz
commands =
/bin/rm -f {toxinidir}/tests/sickbeard.db
/bin/rm -f {toxinidir}/tests/cache.db
/bin/rm -f {toxinidir}/tests/failed.db
nosetests -c nose.cfg --nocapture
- codecov -e TRAVIS_JOB_ID TRAVIS_BRANCH
[testenv:py27-windows]
platform = win
whitelist_externals = {env:SYSTEMROOT:C:\Windows\}\System32\cmd.exe
envdir = {toxworkdir}/tox
passenv = CI APPVEYOR APPVEYOR_* PYTHON_ARCH
deps =
codecov
nose
rednose
mock
vcrpy-unittest
pytz
commands =
cmd /c del /f /q {toxinidir}\tests\sickbeard.db {toxinidir}\tests\cache.db {toxinidir}\tests\failed.db 2> nul
nosetests -c nose.cfg --nocapture
- codecov -e APPVEYOR_REPO_BRANCH PYTHON_ARCH