2018-01-29 00:55:06 +00:00
|
|
|
# sudo: required
|
|
|
|
# dist: trusty
|
2015-04-16 22:49:46 +00:00
|
|
|
language: python
|
2017-07-22 12:16:01 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 2.6
|
|
|
|
env: TOXENV=py26
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
|
|
|
- python: 3.4
|
|
|
|
env: TOXENV=py34
|
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
|
|
|
- python: 3.7-dev
|
2018-01-29 00:55:06 +00:00
|
|
|
env: TOXENV=py37
|
|
|
|
- python: pypy2.7-5.10.0
|
2017-07-22 12:16:01 +00:00
|
|
|
env: TOXENV=pypy
|
2018-01-29 00:55:06 +00:00
|
|
|
- python: pypy3.5-5.10.0
|
2017-07-22 12:16:01 +00:00
|
|
|
env: TOXENV=pypy3
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=flake8
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=perf
|
2018-01-29 00:55:06 +00:00
|
|
|
# use cache for big builds like pandas (to minimise build time).
|
|
|
|
# If issues, clear cache
|
|
|
|
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
|
2016-08-07 15:56:24 +00:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.cache/pip/log/debug.log
|
2016-07-24 13:38:32 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-01-25 08:56:34 +00:00
|
|
|
# branches: # remove travis double-check on pull requests in main repo
|
|
|
|
# only:
|
|
|
|
# - master
|
|
|
|
# - /^\d\.\d+$/
|
2015-10-12 19:22:41 +00:00
|
|
|
before_install:
|
2016-07-24 14:45:31 +00:00
|
|
|
# fix a crash with multiprocessing on Travis
|
2018-01-29 00:55:06 +00:00
|
|
|
# - sudo rm -rf /dev/shm
|
|
|
|
# - sudo ln -s /run/shm /dev/shm
|
2017-01-23 23:21:24 +00:00
|
|
|
- git fetch --tags
|
2015-04-16 22:49:46 +00:00
|
|
|
install:
|
2016-10-30 23:04:33 +00:00
|
|
|
# Install tox first, before dependencies (to get per-env deps)
|
|
|
|
- pip install tox
|
2016-08-07 15:56:24 +00:00
|
|
|
# install this package (tqdm) into the environment
|
2018-01-29 00:55:06 +00:00
|
|
|
- pip install .
|
2016-07-24 13:38:32 +00:00
|
|
|
# run tests
|
2015-04-16 22:49:46 +00:00
|
|
|
script:
|
2015-06-18 21:44:04 +00:00
|
|
|
- tox
|