]> git.phdru.name Git - sqlconvert.git/blob - .travis.yml
Python 3.7
[sqlconvert.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 # Prefer docker containers
10 sudo: required
11
12 language: python
13
14 python:
15   - "2.7"
16
17 cache: pip
18
19 addons:
20   apt:
21     packages:
22       - python-psycopg2
23       - python3-psycopg2
24   postgresql: "9.4"
25
26 matrix:
27   include:
28   - python: "2.7"
29     env: TOXENV=py27
30   - python: "3.4"
31     env: TOXENV=py34
32   - python: "3.5"
33     env: TOXENV=py35
34   - python: "3.6"
35     env: TOXENV=py36
36   - python: "3.7"
37     dist: xenial
38     env: TOXENV=py37
39   - python: "2.7"
40     env: TOXENV=py27-postgres
41   - python: "3.4"
42     env: TOXENV=py34-postgres
43   - python: "3.5"
44     env: TOXENV=py35-postgres
45   - python: "3.6"
46     env: TOXENV=py36-postgres
47   - python: "3.7"
48     dist: xenial
49     env: TOXENV=py37-postgres
50   - python: "2.7"
51     env: TOXENV=py27-sqlite
52   - python: "3.4"
53     env: TOXENV=py34-sqlite
54   - python: "3.5"
55     env: TOXENV=py35-sqlite
56   - python: "3.6"
57     env: TOXENV=py36-sqlite
58   - python: "3.7"
59     dist: xenial
60     env: TOXENV=py37-sqlite
61   - python: "2.7"
62     env: TOXENV=py27-flake8
63   - python: "3.7"
64     dist: xenial
65     env: TOXENV=py37-flake8
66
67 install:
68   - travis_retry pip install --upgrade pip setuptools tox ppu
69
70 script:
71   - tox
72
73 before_cache:
74   - remove-old-files.py -o 180 ~/.cache/pip