]> git.phdru.name Git - m_librarian.git/blob - .travis.yml
CI(travis): remove deprecated `sudo` keyword
[m_librarian.git] / .travis.yml
1 # Only test master and pull requests; skip tags.
2 # Other branches can allow themselves.
3 branches:
4   only:
5     - master
6
7 language: python
8
9 python:
10   - "2.7"
11
12 cache: pip
13
14 matrix:
15   include:
16   - python: "2.7"
17     env: TOXENV=py27
18   - python: "3.4"
19     env: TOXENV=py34
20   - python: "3.5"
21     env: TOXENV=py35
22   - python: "3.6"
23     env: TOXENV=py36
24   - python: "3.7"
25     dist: xenial
26     env: TOXENV=py37
27   - python: "2.7"
28     env: TOXENV=py27-flake8
29   - python: "3.7"
30     dist: xenial
31     env: TOXENV=py37-flake8
32
33 install:
34   - travis_retry pip install --upgrade "pip < 19.1" setuptools tox ppu
35
36 script:
37   - tox
38
39 before_cache:
40   - remove-old-files.py -o 180 ~/.cache/pip