]> git.phdru.name Git - ppu.git/blob - .travis.yml
CI(travis): remove deprecated `sudo` keyword
[ppu.git] / .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 language: python
10
11 python:
12   - "2.7"
13
14 cache: pip
15
16 matrix:
17   include:
18   - python: "2.7"
19     env: TOXENV=py27
20   - python: "3.4"
21     env: TOXENV=py34
22   - python: "3.5"
23     env: TOXENV=py35
24   - python: "3.6"
25     env: TOXENV=py36
26   - python: "3.7"
27     dist: xenial
28     env: TOXENV=py37
29   - python: "2.7"
30     env: TOXENV=py27-flake8
31   - python: "3.7"
32     dist: xenial
33     env: TOXENV=py37-flake8
34
35 install:
36   - travis_retry pip install --upgrade "pip < 19.1" setuptools tox
37
38 script:
39   - tox
40
41 before_cache:
42   - scripts/remove-old-files.py -o 180 ~/.cache/pip