2016-07-24 14:45:31 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-04-16 22:49:46 +00:00
|
|
|
language: python
|
2016-01-01 08:29:10 +00:00
|
|
|
python: 3.5
|
2016-08-07 15:56:24 +00:00
|
|
|
|
|
|
|
# use cache for big builds like pandas
|
|
|
|
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+$/
|
2016-08-07 15:56:24 +00:00
|
|
|
|
2015-06-07 22:06:41 +00:00
|
|
|
env:
|
2015-06-18 21:44:04 +00:00
|
|
|
- TOXENV=py26
|
|
|
|
- TOXENV=py27
|
|
|
|
- TOXENV=py33
|
|
|
|
- TOXENV=py34
|
2016-01-01 08:29:10 +00:00
|
|
|
- TOXENV=py35
|
2015-06-18 21:44:04 +00:00
|
|
|
- TOXENV=pypy
|
|
|
|
- TOXENV=pypy3
|
|
|
|
- TOXENV=flake8
|
2015-11-11 11:23:15 +00:00
|
|
|
- TOXENV=perf
|
2016-08-07 15:56:24 +00:00
|
|
|
|
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
|
|
|
|
- sudo rm -rf /dev/shm
|
|
|
|
- sudo ln -s /run/shm /dev/shm
|
2016-08-07 15:56:24 +00:00
|
|
|
# install codecov
|
2015-10-12 19:22:41 +00:00
|
|
|
- pip install codecov
|
2016-08-07 15:56:24 +00:00
|
|
|
|
2015-04-16 22:49:46 +00:00
|
|
|
install:
|
2016-08-07 15:56:24 +00:00
|
|
|
# install big packages (they are cached to minimize build time)
|
|
|
|
# if issues, clear cache
|
|
|
|
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
|
2016-07-24 14:45:31 +00:00
|
|
|
- pip install pandas
|
2016-08-07 15:56:24 +00:00
|
|
|
# Coverage install
|
2016-09-11 18:47:31 +00:00
|
|
|
# - pip install tox 'coverage<4' coveralls
|
|
|
|
- pip install tox 'coverage<4'
|
2016-08-07 15:56:24 +00:00
|
|
|
# install this package (tqdm) into the environment
|
2016-07-24 13:38:32 +00:00
|
|
|
- python setup.py install
|
2016-08-07 15:56:24 +00:00
|
|
|
|
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
|
2016-08-07 15:56:24 +00:00
|
|
|
|
2016-09-11 18:47:31 +00:00
|
|
|
# submit coverage
|
2015-06-18 21:44:04 +00:00
|
|
|
after_success:
|
2016-09-11 18:47:31 +00:00
|
|
|
# - coveralls
|
2015-10-12 19:22:41 +00:00
|
|
|
- codecov
|