tqdm/.travis.yml

56 lines
1.2 KiB
YAML
Raw Normal View History

sudo: required
dist: trusty
2015-04-16 22:49:46 +00:00
language: python
2017-01-16 09:48:29 +00:00
python: 3.6
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
env:
2015-06-18 21:44:04 +00:00
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
2017-01-16 09:48:29 +00:00
- TOXENV=py36
2015-06-18 21:44:04 +00:00
- TOXENV=pypy
2016-12-15 12:21:59 +00:00
# TODO: re-enable when Travis is fixed
# - TOXENV=pypy3
- TOXENV=pypy3.3-5.2-alpha1
2015-06-18 21:44:04 +00:00
- TOXENV=flake8
- TOXENV=perf
2016-08-07 15:56:24 +00:00
before_install:
# fix a crash with multiprocessing on Travis
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
# coverage submission packages
2017-01-23 23:21:24 +00:00
- git fetch --tags
2016-08-07 15:56:24 +00:00
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
# Install big packages (they are cached to minimize build time)
2016-08-07 15:56:24 +00:00
# if issues, clear cache
# https://docs.travis-ci.com/user/caching/#Clearing-Caches
# - pip install numpy
# - pip install pandas
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