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