-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (59 loc) · 1.35 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
58
59
60
61
62
63
64
sudo: required
dist: trusty
language: python
matrix:
include:
- python: 2.6
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37-dev
- python: pypy2.7-5.8.0
env: TOXENV=pypy
- python: pypy3.5-5.8.0
env: TOXENV=pypy3
- python: 3.6
env: TOXENV=flake8
- python: 2.7
env: TOXENV=perf
# 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+$/
before_install:
# fix a crash with multiprocessing on Travis
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
# coverage submission packages
- git fetch --tags
install:
# 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
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
# - pip install numpy
# - pip install pandas
# install this package (tqdm) into the environment
- python setup.py install
# run tests
script:
- tox