]> git.phdru.name Git - cookiecutter.git/blob - project_template/.travis.yml
Use ppu to cleanup pip cache
[cookiecutter.git] / project_template / .travis.yml
1 # Config file for automatic testing at travis-ci.org
2
3 # Only test master and pull requests; skip tags.
4 # Other branches can allow themselves.
5 branches:
6   only:
7     - master
8
9 # Prefer docker containers
10 sudo: required
11
12 language: python
13
14 python:
15   - "3.6"
16
17 cache: pip
18
19 env:
20   - TOXENV=py27
21   - TOXENV=py33
22   - TOXENV=py34
23   - TOXENV=py35
24   - TOXENV=py36
25   - TOXENV=pypy
26
27 matrix:
28   allow_failures:
29     - env: TOXENV=pypy
30
31 install:
32   - travis_retry pip install tox ppu
33
34 script:
35   - tox
36
37 before_cache:
38   - remove-old-files.py -o 180 ~/.cache/pip