]> git.phdru.name Git - cookiecutter.git/blob - project_template/.travis.yml
Feat: Allow to run clone2current/publish2web from the source repo
[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   - "2.7"
16
17 cache: pip
18
19 matrix:
20   include:
21   - python: "2.7"
22     env: TOXENV=py27
23   - python: "3.3"
24     env: TOXENV=py33
25   - python: "3.4"
26     env: TOXENV=py34
27   - python: "3.5"
28     env: TOXENV=py35
29   - python: "3.6"
30     env: TOXENV=py36
31   - python: "2.7"
32     env: TOXENV=py27-flake8
33   - python: "3.4"
34     env: TOXENV=py34-flake8
35   - python: "pypy"
36     env: TOXENV=pypy
37
38   allow_failures:
39     - env: TOXENV=pypy
40
41 install:
42   - travis_retry pip install --upgrade pip setuptools tox ppu
43
44 script:
45   - tox
46
47 before_cache:
48   - remove-old-files.py -o 180 ~/.cache/pip