mirror of https://github.com/tqdm/tqdm.git
Merge branch 'travis-fix'
This commit is contained in:
commit
64f5432386
13
.travis.yml
13
.travis.yml
|
@ -33,17 +33,18 @@ before_install:
|
||||||
# fix a crash with multiprocessing on Travis
|
# fix a crash with multiprocessing on Travis
|
||||||
- sudo rm -rf /dev/shm
|
- sudo rm -rf /dev/shm
|
||||||
- sudo ln -s /run/shm /dev/shm
|
- sudo ln -s /run/shm /dev/shm
|
||||||
# install codecov
|
# coverage submission packages
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
# - pip install coveralls
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# install big packages (they are cached to minimize build time)
|
# Install tox first, before dependencies (to get per-env deps)
|
||||||
|
- pip install tox
|
||||||
|
# Install big packages (they are cached to minimize build time)
|
||||||
# if issues, clear cache
|
# if issues, clear cache
|
||||||
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
|
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
|
||||||
- pip install pandas
|
# - pip install numpy
|
||||||
# Coverage install
|
# - pip install pandas
|
||||||
# - pip install tox 'coverage<4' coveralls
|
|
||||||
- pip install tox 'coverage<4'
|
|
||||||
# install this package (tqdm) into the environment
|
# install this package (tqdm) into the environment
|
||||||
- python setup.py install
|
- python setup.py install
|
||||||
|
|
||||||
|
|
37
tox.ini
37
tox.ini
|
@ -4,7 +4,7 @@
|
||||||
# and then run "tox" from this directory.
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py26, py27, py32, py33, py34, py35, pypy, pypy3, flake8, setup.py, perf
|
envlist = py26, py33, py32, py34, py27, py35, pypy, pypy3, flake8, setup.py, perf
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
||||||
|
@ -13,10 +13,45 @@ deps =
|
||||||
nose-timer
|
nose-timer
|
||||||
coverage<4
|
coverage<4
|
||||||
coveralls
|
coveralls
|
||||||
|
cython
|
||||||
|
numpy
|
||||||
|
pandas
|
||||||
commands =
|
commands =
|
||||||
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
|
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
|
||||||
- coveralls
|
- coveralls
|
||||||
|
|
||||||
|
[testenv:pypy]
|
||||||
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
||||||
|
deps =
|
||||||
|
nose
|
||||||
|
nose-timer
|
||||||
|
coverage<4
|
||||||
|
coveralls
|
||||||
|
commands =
|
||||||
|
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_p(erf|andas)\.py" -d -v tqdm/
|
||||||
|
- coveralls
|
||||||
|
|
||||||
|
[testenv:pypy3]
|
||||||
|
passenv = {[testenv:pypy]passenv}
|
||||||
|
deps =
|
||||||
|
{[testenv:pypy]deps}
|
||||||
|
commands =
|
||||||
|
{[testenv:pypy]commands}
|
||||||
|
|
||||||
|
[testenv:py26]
|
||||||
|
passenv = {[testenv:pypy]passenv}
|
||||||
|
deps =
|
||||||
|
{[testenv:pypy]deps}
|
||||||
|
commands =
|
||||||
|
{[testenv:pypy]commands}
|
||||||
|
|
||||||
|
[testenv:py33]
|
||||||
|
passenv = {[testenv:pypy]passenv}
|
||||||
|
deps =
|
||||||
|
{[testenv:pypy]deps}
|
||||||
|
commands =
|
||||||
|
{[testenv:pypy]commands}
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps = flake8
|
deps = flake8
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue