forked from tqdm/tqdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (50 loc) · 1.11 KB
/
.travis.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: required
dist: trusty
language: python
python: 3.5
# use cache for big builds like pandas
cache:
pip: true
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
notifications:
email: false
# branches: # remove travis double-check on pull requests in main repo
# only:
# - master
# - /^\d\.\d+$/
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pypy3
- TOXENV=flake8
- TOXENV=perf
before_install:
# fix a crash with multiprocessing on Travis
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
# install codecov
- pip install codecov
install:
# install big packages (they are cached to minimize build time)
# if issues, clear cache
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
- pip install pandas
# Coverage install
# - pip install tox 'coverage<4' coveralls
- pip install tox 'coverage<4'
# install this package (tqdm) into the environment
- python setup.py install
# run tests
script:
- tox
# submit coverage
after_success:
# - coveralls
- codecov